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

- statment => statement
- transaciton => transaction
(cherry picked from commit 962acd4468)

Co-authored-by: ceh <emil@hessman.se>
This commit is contained in:
Miss Islington (bot) 2022-08-04 11:34:37 -07:00 committed by GitHub
parent be30a6dc4d
commit f6b1c5e454
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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*.