]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44639: fix typo in sqlite.rst (transation => transaction) (GH-27145) (GH-27149)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 14 Jul 2021 22:49:33 +0000 (15:49 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Jul 2021 22:49:33 +0000 (23:49 +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 4ae4b4dcff6767be80d0a037a7cd0fc11612eb08..b2a648a418fc5147e8c4a30dd6f0255388ca8ebe 100644 (file)
@@ -636,7 +636,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`.