summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorceh <emil@hessman.se>2022-08-04 18:25:53 (GMT)
committerGitHub <noreply@github.com>2022-08-04 18:25:53 (GMT)
commit962acd446839c7e10caf301931760133644ce8ca (patch)
tree3b740c5c3c0192426aa8036cd480a1c9a2d6df6e /Doc
parentbdbadb905ae638b67a6c9a6767be396e18839dd6 (diff)
downloadcpython-962acd446839c7e10caf301931760133644ce8ca.zip
cpython-962acd446839c7e10caf301931760133644ce8ca.tar.gz
cpython-962acd446839c7e10caf301931760133644ce8ca.tar.bz2
Docs: fix two typos in the sqlite3 docs (#95661)
- statment => statement - transaciton => transaction
Diffstat (limited to 'Doc')
-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 3fade30..9055e03 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -887,7 +887,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:
@@ -1060,7 +1060,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*.