Docs: fix two typos in the sqlite3 docs (#95661)

- statment => statement
- transaciton => transaction
This commit is contained in:
ceh 2022-08-04 20:25:53 +02:00 committed by GitHub
parent bdbadb905a
commit 962acd4468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -887,7 +887,7 @@ Connection objects
Either ``"main"`` (the default) for the main database, Either ``"main"`` (the default) for the main database,
``"temp"`` for the temporary database, ``"temp"`` for the temporary database,
or the name of a custom database as attached using the or the name of a custom database as attached using the
``ATTACH DATABASE`` SQL statment. ``ATTACH DATABASE`` SQL statement.
:type name: str :type name: str
:param sleep: :param sleep:
@ -1060,7 +1060,7 @@ Cursor objects
.. method:: executescript(sql_script, /) .. method:: executescript(sql_script, /)
Execute the SQL statements in *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. an implicit ``COMMIT`` statement is executed first.
No other implicit transaction control is performed; No other implicit transaction control is performed;
any transaction control must be added to *sql_script*. any transaction control must be added to *sql_script*.