]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44639: fix typo in sqlite.rst (transation => transaction) (GH-27145)
authorJack DeVries <58614260+jdevries3133@users.noreply.github.com>
Wed, 14 Jul 2021 21:39:54 +0000 (17:39 -0400)
committerGitHub <noreply@github.com>
Wed, 14 Jul 2021 21:39:54 +0000 (14:39 -0700)
To my understanding, this is supposed to say "transaction".

See the relevant source:

https://github.com/python/cpython/blob/a158b20019b50e3ece6e4743ec4e6ae8d818b690/Modules/_sqlite/connection.c#L1434-L1467

Doc/library/sqlite3.rst

index 33cb13e9784c3f87587cb499ba9061d97419bfd2..05fcabb8f671c2596d0be0fb5b43bbd39ac6bfc0 100644 (file)
@@ -654,7 +654,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`.