Skip to content

Docstring: replace pysqlite with sqlite3 #31758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -836,11 +836,11 @@ Cursor Objects

.. method:: setinputsizes(sizes)

Required by the DB-API. Is a no-op in :mod:`sqlite3`.
Required by the DB-API. Does nothing in :mod:`sqlite3`.

.. method:: setoutputsize(size [, column])

Required by the DB-API. Is a no-op in :mod:`sqlite3`.
Required by the DB-API. Does nothing in :mod:`sqlite3`.

.. attribute:: rowcount

Expand Down
6 changes: 3 additions & 3 deletions Modules/_sqlite/clinic/cursor.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Modules/_sqlite/cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -921,12 +921,12 @@ _sqlite3.Cursor.setinputsizes as pysqlite_cursor_setinputsizes
sizes: object
/

Required by DB-API. Does nothing in pysqlite.
Required by DB-API. Does nothing in sqlite3.
[clinic start generated code]*/

static PyObject *
pysqlite_cursor_setinputsizes(pysqlite_Cursor *self, PyObject *sizes)
/*[clinic end generated code: output=893c817afe9d08ad input=7cffbb168663bc69]*/
/*[clinic end generated code: output=893c817afe9d08ad input=de7950a3aec79bdf]*/
{
Py_RETURN_NONE;
}
Expand All @@ -938,13 +938,13 @@ _sqlite3.Cursor.setoutputsize as pysqlite_cursor_setoutputsize
column: object = None
/

Required by DB-API. Does nothing in pysqlite.
Required by DB-API. Does nothing in sqlite3.
[clinic start generated code]*/

static PyObject *
pysqlite_cursor_setoutputsize_impl(pysqlite_Cursor *self, PyObject *size,
PyObject *column)
/*[clinic end generated code: output=018d7e9129d45efe input=077b017da58b9389]*/
/*[clinic end generated code: output=018d7e9129d45efe input=607a6bece8bbb273]*/
{
Py_RETURN_NONE;
}
Expand Down