Skip to content

Commit 2d5835a

Browse files
author
Erlend Egeberg Aasland
authored
sqlite3: normalise pre-acronym determiners (GH-31772)
For consistency, replace "a SQL" with "an SQL".
1 parent 4052dd2 commit 2d5835a

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

@@ -373,7 +373,7 @@ Connection Objects
373373

374374
.. class:: Connection
375375

376-
A SQLite database connection has the following attributes and methods:
376+
An SQLite database connection has the following attributes and methods:
377377

378378
.. attribute:: isolation_level
379379

@@ -589,7 +589,7 @@ Connection Objects
589589

590590
.. method:: load_extension(path)
591591

592-
This routine loads a SQLite extension from a shared library. You have to
592+
This routine loads an SQLite extension from a shared library. You have to
593593
enable extension loading with :meth:`enable_load_extension` before you can
594594
use this routine.
595595

@@ -665,7 +665,7 @@ Connection Objects
665665

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

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

10701070
The type system of the :mod:`sqlite3` module is extensible in two ways: you can
1071-
store additional Python types in a SQLite database via object adaptation, and
1071+
store additional Python types in an SQLite database via object adaptation, and
10721072
you can let the :mod:`sqlite3` module convert SQLite types to different Python
10731073
types via converters.
10741074

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
@@ -672,13 +672,13 @@ _sqlite3.Cursor.execute as pysqlite_cursor_execute
672672
parameters: object(c_default = 'NULL') = ()
673673
/
674674
675-
Executes a SQL statement.
675+
Executes an SQL statement.
676676
[clinic start generated code]*/
677677

678678
static PyObject *
679679
pysqlite_cursor_execute_impl(pysqlite_Cursor *self, PyObject *sql,
680680
PyObject *parameters)
681-
/*[clinic end generated code: output=d81b4655c7c0bbad input=91d7bb36f127f597]*/
681+
/*[clinic end generated code: output=d81b4655c7c0bbad input=a8e0200a11627f94]*/
682682
{
683683
return _pysqlite_query_execute(self, 0, sql, parameters);
684684
}
@@ -690,13 +690,13 @@ _sqlite3.Cursor.executemany as pysqlite_cursor_executemany
690690
seq_of_parameters: object
691691
/
692692
693-
Repeatedly executes a SQL statement.
693+
Repeatedly executes an SQL statement.
694694
[clinic start generated code]*/
695695

696696
static PyObject *
697697
pysqlite_cursor_executemany_impl(pysqlite_Cursor *self, PyObject *sql,
698698
PyObject *seq_of_parameters)
699-
/*[clinic end generated code: output=2c65a3c4733fb5d8 input=440707b7af87fba8]*/
699+
/*[clinic end generated code: output=2c65a3c4733fb5d8 input=0d0a52e5eb7ccd35]*/
700700
{
701701
return _pysqlite_query_execute(self, 1, sql, seq_of_parameters);
702702
}

0 commit comments

Comments
 (0)