]> 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:35:45 +0000 (11:35 -0700)
committerGitHub <noreply@github.com>
Thu, 4 Aug 2022 18:35:45 +0000 (11:35 -0700)
- statment => statement
- transaciton => transaction
(cherry picked from commit 962acd446839c7e10caf301931760133644ce8ca)

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

index 892daf1660c6ec66805339bb88c87a9e26d42eef..96694c6054446c0e69e59fe1b7bd53b1a592ea6f 100644 (file)
@@ -877,7 +877,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:
@@ -1050,7 +1050,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*.