summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2022-03-11 01:52:47 (GMT)
committerGitHub <noreply@github.com>2022-03-11 01:52:47 (GMT)
commit2d5835a019a46573d5b1b614c8ef88d6b564d8d4 (patch)
tree39d721071266e7588e6b1aac00647b71d90d9695 /Modules/_sqlite
parent4052dd2296da2ff304b1fa787b100befffa1c9ca (diff)
downloadcpython-2d5835a019a46573d5b1b614c8ef88d6b564d8d4.zip
cpython-2d5835a019a46573d5b1b614c8ef88d6b564d8d4.tar.gz
cpython-2d5835a019a46573d5b1b614c8ef88d6b564d8d4.tar.bz2
sqlite3: normalise pre-acronym determiners (GH-31772)
For consistency, replace "a SQL" with "an SQL".
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r--Modules/_sqlite/clinic/cursor.c.h6
-rw-r--r--Modules/_sqlite/cursor.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/Modules/_sqlite/clinic/cursor.c.h b/Modules/_sqlite/clinic/cursor.c.h
index 03bdbb7..561d17f 100644
--- a/Modules/_sqlite/clinic/cursor.c.h
+++ b/Modules/_sqlite/clinic/cursor.c.h
@@ -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]*/
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c
index 69beccd..e48a958 100644
--- a/Modules/_sqlite/cursor.c
+++ b/Modules/_sqlite/cursor.c
@@ -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);
}