mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix docstring typo in sqlite3.Connection.executescript/sqlite3.Cursor.executescript (GH-27147)
Both `executescript` methods contain the same docstring typo: _"Executes a multiple SQL statements at once."_ => _"Executes multiple SQL statements at once."_ Automerge-Triggered-By: GH:pablogsal
This commit is contained in:
parent
1ca27f2647
commit
81b8c0a385
4 changed files with 8 additions and 8 deletions
|
@ -576,7 +576,7 @@ PyDoc_STRVAR(pysqlite_connection_executescript__doc__,
|
|||
"executescript($self, sql_script, /)\n"
|
||||
"--\n"
|
||||
"\n"
|
||||
"Executes a multiple SQL statements at once. Non-standard.");
|
||||
"Executes multiple SQL statements at once. Non-standard.");
|
||||
|
||||
#define PYSQLITE_CONNECTION_EXECUTESCRIPT_METHODDEF \
|
||||
{"executescript", (PyCFunction)pysqlite_connection_executescript, METH_O, pysqlite_connection_executescript__doc__},
|
||||
|
@ -811,4 +811,4 @@ exit:
|
|||
#ifndef PYSQLITE_CONNECTION_LOAD_EXTENSION_METHODDEF
|
||||
#define PYSQLITE_CONNECTION_LOAD_EXTENSION_METHODDEF
|
||||
#endif /* !defined(PYSQLITE_CONNECTION_LOAD_EXTENSION_METHODDEF) */
|
||||
/*[clinic end generated code: output=c350732a2758c8c1 input=a9049054013a1b77]*/
|
||||
/*[clinic end generated code: output=30f11f2d8f09bdf0 input=a9049054013a1b77]*/
|
||||
|
|
|
@ -114,7 +114,7 @@ PyDoc_STRVAR(pysqlite_cursor_executescript__doc__,
|
|||
"executescript($self, sql_script, /)\n"
|
||||
"--\n"
|
||||
"\n"
|
||||
"Executes a multiple SQL statements at once. Non-standard.");
|
||||
"Executes multiple SQL statements at once. Non-standard.");
|
||||
|
||||
#define PYSQLITE_CURSOR_EXECUTESCRIPT_METHODDEF \
|
||||
{"executescript", (PyCFunction)pysqlite_cursor_executescript, METH_O, pysqlite_cursor_executescript__doc__},
|
||||
|
@ -259,4 +259,4 @@ pysqlite_cursor_close(pysqlite_Cursor *self, PyObject *Py_UNUSED(ignored))
|
|||
{
|
||||
return pysqlite_cursor_close_impl(self);
|
||||
}
|
||||
/*[clinic end generated code: output=e3a502bb26aaefa5 input=a9049054013a1b77]*/
|
||||
/*[clinic end generated code: output=8f70eac5f8aa8d97 input=a9049054013a1b77]*/
|
||||
|
|
|
@ -1437,13 +1437,13 @@ _sqlite3.Connection.executescript as pysqlite_connection_executescript
|
|||
sql_script as script_obj: object
|
||||
/
|
||||
|
||||
Executes a multiple SQL statements at once. Non-standard.
|
||||
Executes multiple SQL statements at once. Non-standard.
|
||||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
pysqlite_connection_executescript(pysqlite_Connection *self,
|
||||
PyObject *script_obj)
|
||||
/*[clinic end generated code: output=4c4f9d77aa0ae37d input=c0b14695aa6c81d9]*/
|
||||
/*[clinic end generated code: output=4c4f9d77aa0ae37d input=b27ae5c24ffb8b43]*/
|
||||
{
|
||||
_Py_IDENTIFIER(executescript);
|
||||
PyObject* cursor = 0;
|
||||
|
|
|
@ -726,12 +726,12 @@ _sqlite3.Cursor.executescript as pysqlite_cursor_executescript
|
|||
sql_script as script_obj: object
|
||||
/
|
||||
|
||||
Executes a multiple SQL statements at once. Non-standard.
|
||||
Executes multiple SQL statements at once. Non-standard.
|
||||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
pysqlite_cursor_executescript(pysqlite_Cursor *self, PyObject *script_obj)
|
||||
/*[clinic end generated code: output=115a8132b0f200fe input=38c6fa6de570bb9b]*/
|
||||
/*[clinic end generated code: output=115a8132b0f200fe input=ba3ec59df205e362]*/
|
||||
{
|
||||
_Py_IDENTIFIER(commit);
|
||||
const char* script_cstr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue