sqlite3: normalise pre-acronym determiners (GH-31772)

For consistency, replace "a SQL" with "an SQL".
This commit is contained in:
Erlend Egeberg Aasland 2022-03-11 02:52:47 +01:00 committed by GitHub
parent 4052dd2296
commit 2d5835a019
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View file

@ -35,7 +35,7 @@ PyDoc_STRVAR(pysqlite_cursor_execute__doc__,
"execute($self, sql, parameters=(), /)\n"
"--\n"
"\n"
"Executes a SQL statement.");
"Executes an SQL statement.");
#define PYSQLITE_CURSOR_EXECUTE_METHODDEF \
{"execute", (PyCFunction)(void(*)(void))pysqlite_cursor_execute, METH_FASTCALL, pysqlite_cursor_execute__doc__},
@ -77,7 +77,7 @@ PyDoc_STRVAR(pysqlite_cursor_executemany__doc__,
"executemany($self, sql, seq_of_parameters, /)\n"
"--\n"
"\n"
"Repeatedly executes a SQL statement.");
"Repeatedly executes an SQL statement.");
#define PYSQLITE_CURSOR_EXECUTEMANY_METHODDEF \
{"executemany", (PyCFunction)(void(*)(void))pysqlite_cursor_executemany, METH_FASTCALL, pysqlite_cursor_executemany__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=1bee279bc861f6d3 input=a9049054013a1b77]*/
/*[clinic end generated code: output=bde165664155b2bf input=a9049054013a1b77]*/

View file

@ -672,13 +672,13 @@ _sqlite3.Cursor.execute as pysqlite_cursor_execute
parameters: object(c_default = 'NULL') = ()
/
Executes a SQL statement.
Executes an SQL statement.
[clinic start generated code]*/
static PyObject *
pysqlite_cursor_execute_impl(pysqlite_Cursor *self, PyObject *sql,
PyObject *parameters)
/*[clinic end generated code: output=d81b4655c7c0bbad input=91d7bb36f127f597]*/
/*[clinic end generated code: output=d81b4655c7c0bbad input=a8e0200a11627f94]*/
{
return _pysqlite_query_execute(self, 0, sql, parameters);
}
@ -690,13 +690,13 @@ _sqlite3.Cursor.executemany as pysqlite_cursor_executemany
seq_of_parameters: object
/
Repeatedly executes a SQL statement.
Repeatedly executes an SQL statement.
[clinic start generated code]*/
static PyObject *
pysqlite_cursor_executemany_impl(pysqlite_Cursor *self, PyObject *sql,
PyObject *seq_of_parameters)
/*[clinic end generated code: output=2c65a3c4733fb5d8 input=440707b7af87fba8]*/
/*[clinic end generated code: output=2c65a3c4733fb5d8 input=0d0a52e5eb7ccd35]*/
{
return _pysqlite_query_execute(self, 1, sql, seq_of_parameters);
}