]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44639: fix typo in sqlite.rst (transation => transaction) (GH-27145) (GH-27148)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 14 Jul 2021 22:22:50 +0000 (15:22 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Jul 2021 22:22:50 +0000 (23:22 +0100)
To my understanding, this is supposed to say "transaction".

See the relevant source:

https://github.com/python/cpython/blob/a158b20019b50e3ece6e4743ec4e6ae8d818b690/Modules/_sqlite/connection.cGH-L1434-L1467
(cherry picked from commit 1ca27f264730abaaa48b3c5e7c6eafb45017b824)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Doc/library/sqlite3.rst

index f9e4c8a269027bf25b32acb2732ffbfc42b9e348..ac9169c3b31fb7a59fe78fe201b8f5da93890469 100644 (file)
@@ -649,7 +649,7 @@ Cursor Objects
       This is a nonstandard convenience method for executing multiple SQL statements
       at once. It issues a ``COMMIT`` statement first, then executes the SQL script it
       gets as a parameter.  This method disregards :attr:`isolation_level`; any
-      transation control must be added to *sql_script*.
+      transaction control must be added to *sql_script*.
 
       *sql_script* can be an instance of :class:`str`.