Skip to content

Commit b33a1ae

Browse files
author
Erlend Egeberg Aasland
authored
Docstring: replace pysqlite with sqlite3 (GH-31758)
Replace two instances of "pysqlite" with "sqlite3" in sqlite3 docstrings. Also reword "is a no-op" to "does nothing" for clarity.
1 parent 95ba723 commit b33a1ae

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Doc/library/sqlite3.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,11 +836,11 @@ Cursor Objects
836836

837837
.. method:: setinputsizes(sizes)
838838

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

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

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

845845
.. attribute:: rowcount
846846

Modules/_sqlite/clinic/cursor.c.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_sqlite/cursor.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -921,12 +921,12 @@ _sqlite3.Cursor.setinputsizes as pysqlite_cursor_setinputsizes
921921
sizes: object
922922
/
923923
924-
Required by DB-API. Does nothing in pysqlite.
924+
Required by DB-API. Does nothing in sqlite3.
925925
[clinic start generated code]*/
926926

927927
static PyObject *
928928
pysqlite_cursor_setinputsizes(pysqlite_Cursor *self, PyObject *sizes)
929-
/*[clinic end generated code: output=893c817afe9d08ad input=7cffbb168663bc69]*/
929+
/*[clinic end generated code: output=893c817afe9d08ad input=de7950a3aec79bdf]*/
930930
{
931931
Py_RETURN_NONE;
932932
}
@@ -938,13 +938,13 @@ _sqlite3.Cursor.setoutputsize as pysqlite_cursor_setoutputsize
938938
column: object = None
939939
/
940940
941-
Required by DB-API. Does nothing in pysqlite.
941+
Required by DB-API. Does nothing in sqlite3.
942942
[clinic start generated code]*/
943943

944944
static PyObject *
945945
pysqlite_cursor_setoutputsize_impl(pysqlite_Cursor *self, PyObject *size,
946946
PyObject *column)
947-
/*[clinic end generated code: output=018d7e9129d45efe input=077b017da58b9389]*/
947+
/*[clinic end generated code: output=018d7e9129d45efe input=607a6bece8bbb273]*/
948948
{
949949
Py_RETURN_NONE;
950950
}

0 commit comments

Comments
 (0)