Skip to content

Commit 5dfe981

Browse files
JelleZijlstraErlend Egeberg Aasland
andauthored
[3.10] Docstring: replace pysqlite with sqlite3 (GH-31758) (GH-31777)
Replace two instances of "pysqlite" with "sqlite3" in sqlite3 docstrings. Also reword "is a no-op" to "does nothing" for clarity.. (cherry picked from commit b33a1ae) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
1 parent 26fa25a commit 5dfe981

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
@@ -757,11 +757,11 @@ Cursor Objects
757757

758758
.. method:: setinputsizes(sizes)
759759

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

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

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

766766
.. attribute:: rowcount
767767

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
@@ -935,12 +935,12 @@ _sqlite3.Cursor.setinputsizes as pysqlite_cursor_setinputsizes
935935
sizes: object
936936
/
937937
938-
Required by DB-API. Does nothing in pysqlite.
938+
Required by DB-API. Does nothing in sqlite3.
939939
[clinic start generated code]*/
940940

941941
static PyObject *
942942
pysqlite_cursor_setinputsizes(pysqlite_Cursor *self, PyObject *sizes)
943-
/*[clinic end generated code: output=893c817afe9d08ad input=7cffbb168663bc69]*/
943+
/*[clinic end generated code: output=893c817afe9d08ad input=de7950a3aec79bdf]*/
944944
{
945945
Py_RETURN_NONE;
946946
}
@@ -952,13 +952,13 @@ _sqlite3.Cursor.setoutputsize as pysqlite_cursor_setoutputsize
952952
column: object = None
953953
/
954954
955-
Required by DB-API. Does nothing in pysqlite.
955+
Required by DB-API. Does nothing in sqlite3.
956956
[clinic start generated code]*/
957957

958958
static PyObject *
959959
pysqlite_cursor_setoutputsize_impl(pysqlite_Cursor *self, PyObject *size,
960960
PyObject *column)
961-
/*[clinic end generated code: output=018d7e9129d45efe input=077b017da58b9389]*/
961+
/*[clinic end generated code: output=018d7e9129d45efe input=607a6bece8bbb273]*/
962962
{
963963
Py_RETURN_NONE;
964964
}

0 commit comments

Comments
 (0)