[Python-checkins] Docs: fix two typos in the sqlite3 docs (#95661)
erlend-aasland
webhook-mailer at python.org
Thu Aug 4 14:26:19 EDT 2022
https://github.com/python/cpython/commit/962acd446839c7e10caf301931760133644ce8ca
commit: 962acd446839c7e10caf301931760133644ce8ca
branch: main
author: ceh <emil at hessman.se>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2022-08-04T20:25:53+02:00
summary:
Docs: fix two typos in the sqlite3 docs (#95661)
- statment => statement
- transaciton => transaction
files:
M Doc/library/sqlite3.rst
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 3fade30c256..9055e0307c8 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*.
More information about the Python-checkins
mailing list