]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: fix two typos in the sqlite3 docs (#95661)
authorceh <emil@hessman.se>
Thu, 4 Aug 2022 18:25:53 +0000 (20:25 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Aug 2022 18:25:53 +0000 (20:25 +0200)
- statment => statement
- transaciton => transaction

Doc/library/sqlite3.rst

index 3fade30c2562d3beead0a30ef1d1dc9300807569..9055e0307c8603ffb462d66eaa77e4dc8ef2228e 100644 (file)
@@ -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*.