]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: fix two typos in the sqlite3 docs (GH-95661)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Aug 2022 18:34:37 +0000 (11:34 -0700)
committerGitHub <noreply@github.com>
Thu, 4 Aug 2022 18:34:37 +0000 (11:34 -0700)
- statment => statement
- transaciton => transaction
(cherry picked from commit 962acd446839c7e10caf301931760133644ce8ca)

Co-authored-by: ceh <emil@hessman.se>
Doc/library/sqlite3.rst

index b1c8166a64b8ecc055dca6c28b9d2312254c712f..6afda5934ad3f0993b1efcfc9ce5e52c59ad87eb 100644 (file)
@@ -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*.