[Python-checkins] Docs: fix two typos in the sqlite3 docs (GH-95661)
miss-islington
webhook-mailer at python.org
Thu Aug 4 14:34:46 EDT 2022
https://github.com/python/cpython/commit/f6b1c5e45426f3fcad6a8105bfe94de80f81a5c6
commit: f6b1c5e45426f3fcad6a8105bfe94de80f81a5c6
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-08-04T11:34:37-07:00
summary:
Docs: fix two typos in the sqlite3 docs (GH-95661)
- statment => statement
- transaciton => transaction
(cherry picked from commit 962acd446839c7e10caf301931760133644ce8ca)
Co-authored-by: ceh <emil at hessman.se>
files:
M Doc/library/sqlite3.rst
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index b1c8166a64b..6afda5934ad 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*.
More information about the Python-checkins
mailing list