mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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.
This commit is contained in:
parent
95ba723c54
commit
b33a1ae703
3 changed files with 9 additions and 9 deletions
6
Modules/_sqlite/clinic/cursor.c.h
generated
6
Modules/_sqlite/clinic/cursor.c.h
generated
|
@ -232,7 +232,7 @@ PyDoc_STRVAR(pysqlite_cursor_setinputsizes__doc__,
|
|||
"setinputsizes($self, sizes, /)\n"
|
||||
"--\n"
|
||||
"\n"
|
||||
"Required by DB-API. Does nothing in pysqlite.");
|
||||
"Required by DB-API. Does nothing in sqlite3.");
|
||||
|
||||
#define PYSQLITE_CURSOR_SETINPUTSIZES_METHODDEF \
|
||||
{"setinputsizes", (PyCFunction)pysqlite_cursor_setinputsizes, METH_O, pysqlite_cursor_setinputsizes__doc__},
|
||||
|
@ -241,7 +241,7 @@ PyDoc_STRVAR(pysqlite_cursor_setoutputsize__doc__,
|
|||
"setoutputsize($self, size, column=None, /)\n"
|
||||
"--\n"
|
||||
"\n"
|
||||
"Required by DB-API. Does nothing in pysqlite.");
|
||||
"Required by DB-API. Does nothing in sqlite3.");
|
||||
|
||||
#define PYSQLITE_CURSOR_SETOUTPUTSIZE_METHODDEF \
|
||||
{"setoutputsize", (PyCFunction)(void(*)(void))pysqlite_cursor_setoutputsize, METH_FASTCALL, pysqlite_cursor_setoutputsize__doc__},
|
||||
|
@ -289,4 +289,4 @@ pysqlite_cursor_close(pysqlite_Cursor *self, PyObject *Py_UNUSED(ignored))
|
|||
{
|
||||
return pysqlite_cursor_close_impl(self);
|
||||
}
|
||||
/*[clinic end generated code: output=ab1375c060ff7021 input=a9049054013a1b77]*/
|
||||
/*[clinic end generated code: output=1bee279bc861f6d3 input=a9049054013a1b77]*/
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue