Skip to content

Commit 49ff5ed

Browse files
JelleZijlstraErlend Egeberg Aasland
and
Erlend Egeberg Aasland
authored
[3.9] sqlite3: normalise pre-acronym determiners (GH-31772) (GH-31807)
For consistency, replace "a SQL" with "an SQL".. (cherry picked from commit 2d5835a) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
1 parent ba2b795 commit 49ff5ed

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Doc/library/sqlite3.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SQLite for internal data storage. It's also possible to prototype an
1717
application using SQLite and then port the code to a larger database such as
1818
PostgreSQL or Oracle.
1919

20-
The sqlite3 module was written by Gerhard Häring. It provides a SQL interface
20+
The sqlite3 module was written by Gerhard Häring. It provides an SQL interface
2121
compliant with the DB-API 2.0 specification described by :pep:`249`.
2222

2323
To use the module, start by creating a :class:`Connection` object that
@@ -332,7 +332,7 @@ Connection Objects
332332

333333
.. class:: Connection
334334

335-
A SQLite database connection has the following attributes and methods:
335+
An SQLite database connection has the following attributes and methods:
336336

337337
.. attribute:: isolation_level
338338

@@ -534,7 +534,7 @@ Connection Objects
534534

535535
.. method:: load_extension(path)
536536

537-
This routine loads a SQLite extension from a shared library. You have to
537+
This routine loads an SQLite extension from a shared library. You have to
538538
enable extension loading with :meth:`enable_load_extension` before you can
539539
use this routine.
540540

@@ -605,7 +605,7 @@ Connection Objects
605605

606606
.. method:: backup(target, *, pages=-1, progress=None, name="main", sleep=0.250)
607607

608-
This method makes a backup of a SQLite database even while it's being accessed
608+
This method makes a backup of an SQLite database even while it's being accessed
609609
by other clients, or concurrently by the same connection. The copy will be
610610
written into the mandatory argument *target*, that must be another
611611
:class:`Connection` instance.
@@ -965,7 +965,7 @@ This is how SQLite types are converted to Python types by default:
965965
+-------------+----------------------------------------------+
966966

967967
The type system of the :mod:`sqlite3` module is extensible in two ways: you can
968-
store additional Python types in a SQLite database via object adaptation, and
968+
store additional Python types in an SQLite database via object adaptation, and
969969
you can let the :mod:`sqlite3` module convert SQLite types to different Python
970970
types via converters.
971971

Modules/_sqlite/cursor.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,9 +878,9 @@ PyObject* pysqlite_cursor_close(pysqlite_Cursor* self, PyObject* args)
878878

879879
static PyMethodDef cursor_methods[] = {
880880
{"execute", (PyCFunction)pysqlite_cursor_execute, METH_VARARGS,
881-
PyDoc_STR("Executes a SQL statement.")},
881+
PyDoc_STR("Executes an SQL statement.")},
882882
{"executemany", (PyCFunction)pysqlite_cursor_executemany, METH_VARARGS,
883-
PyDoc_STR("Repeatedly executes a SQL statement.")},
883+
PyDoc_STR("Repeatedly executes an SQL statement.")},
884884
{"executescript", (PyCFunction)pysqlite_cursor_executescript, METH_VARARGS,
885885
PyDoc_STR("Executes multiple SQL statements at once.")},
886886
{"fetchone", (PyCFunction)pysqlite_cursor_fetchone, METH_NOARGS,

0 commit comments

Comments
 (0)