summaryrefslogtreecommitdiffstats
path: root/Doc/library/sqlite3.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-08-04 18:34:37 (GMT)
committerGitHub <noreply@github.com>2022-08-04 18:34:37 (GMT)
commitf6b1c5e45426f3fcad6a8105bfe94de80f81a5c6 (patch)
treedd15160ef9d7cc03f905bfeb39731fbc8ebb6cbb /Doc/library/sqlite3.rst
parentbe30a6dc4d7aa998526b1beb101995aa3691145f (diff)
downloadcpython-f6b1c5e45426f3fcad6a8105bfe94de80f81a5c6.zip
cpython-f6b1c5e45426f3fcad6a8105bfe94de80f81a5c6.tar.gz
cpython-f6b1c5e45426f3fcad6a8105bfe94de80f81a5c6.tar.bz2
Docs: fix two typos in the sqlite3 docs (GH-95661)
- statment => statement - transaciton => transaction (cherry picked from commit 962acd446839c7e10caf301931760133644ce8ca) Co-authored-by: ceh <emil@hessman.se>
Diffstat (limited to 'Doc/library/sqlite3.rst')
-rw-r--r--Doc/library/sqlite3.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index b1c8166..6afda59 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -752,7 +752,7 @@ Connection objects
Either ``"main"`` (the default) for the main database,
``"temp"`` for the temporary database,
or the name of a custom database as attached using the
- ``ATTACH DATABASE`` SQL statment.
+ ``ATTACH DATABASE`` SQL statement.
:type name: str
:param sleep:
@@ -851,7 +851,7 @@ Cursor objects
.. method:: executescript(sql_script, /)
Execute the SQL statements in *sql_script*.
- If there is a pending transaciton,
+ If there is a pending transaction,
an implicit ``COMMIT`` statement is executed first.
No other implicit transaction control is performed;
any transaction control must be added to *sql_script*.