From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 4 Aug 2022 18:34:37 +0000 (-0700) Subject: Docs: fix two typos in the sqlite3 docs (GH-95661) X-Git-Tag: v3.10.7~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6b1c5e45426f3fcad6a8105bfe94de80f81a5c6;p=thirdparty%2FPython%2Fcpython.git Docs: fix two typos in the sqlite3 docs (GH-95661) - statment => statement - transaciton => transaction (cherry picked from commit 962acd446839c7e10caf301931760133644ce8ca) Co-authored-by: ceh --- diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index b1c8166a64b8..6afda5934ad3 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*.