Skip to content

Commit d8ba5c1

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

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
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`, and
2222
requires SQLite 3.7.15 or newer.
2323

@@ -337,7 +337,7 @@ Connection Objects
337337

338338
.. class:: Connection
339339

340-
A SQLite database connection has the following attributes and methods:
340+
An SQLite database connection has the following attributes and methods:
341341

342342
.. attribute:: isolation_level
343343

@@ -544,7 +544,7 @@ Connection Objects
544544

545545
.. method:: load_extension(path)
546546

547-
This routine loads a SQLite extension from a shared library. You have to
547+
This routine loads an SQLite extension from a shared library. You have to
548548
enable extension loading with :meth:`enable_load_extension` before you can
549549
use this routine.
550550

@@ -620,7 +620,7 @@ Connection Objects
620620

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

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

977977
The type system of the :mod:`sqlite3` module is extensible in two ways: you can
978-
store additional Python types in a SQLite database via object adaptation, and
978+
store additional Python types in an SQLite database via object adaptation, and
979979
you can let the :mod:`sqlite3` module convert SQLite types to different Python
980980
types via converters.
981981

Modules/_sqlite/clinic/cursor.c.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_sqlite/cursor.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -650,13 +650,13 @@ _sqlite3.Cursor.execute as pysqlite_cursor_execute
650650
parameters: object(c_default = 'NULL') = ()
651651
/
652652
653-
Executes a SQL statement.
653+
Executes an SQL statement.
654654
[clinic start generated code]*/
655655

656656
static PyObject *
657657
pysqlite_cursor_execute_impl(pysqlite_Cursor *self, PyObject *sql,
658658
PyObject *parameters)
659-
/*[clinic end generated code: output=d81b4655c7c0bbad input=91d7bb36f127f597]*/
659+
/*[clinic end generated code: output=d81b4655c7c0bbad input=a8e0200a11627f94]*/
660660
{
661661
return _pysqlite_query_execute(self, 0, sql, parameters);
662662
}
@@ -668,13 +668,13 @@ _sqlite3.Cursor.executemany as pysqlite_cursor_executemany
668668
seq_of_parameters: object
669669
/
670670
671-
Repeatedly executes a SQL statement.
671+
Repeatedly executes an SQL statement.
672672
[clinic start generated code]*/
673673

674674
static PyObject *
675675
pysqlite_cursor_executemany_impl(pysqlite_Cursor *self, PyObject *sql,
676676
PyObject *seq_of_parameters)
677-
/*[clinic end generated code: output=2c65a3c4733fb5d8 input=440707b7af87fba8]*/
677+
/*[clinic end generated code: output=2c65a3c4733fb5d8 input=0d0a52e5eb7ccd35]*/
678678
{
679679
return _pysqlite_query_execute(self, 1, sql, seq_of_parameters);
680680
}

0 commit comments

Comments
 (0)