mirror of
https://github.com/python/cpython.git
synced 2026-01-02 05:23:42 +00:00
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:
parent
be30a6dc4d
commit
f6b1c5e454
1 changed files with 2 additions and 2 deletions
|
|
@ -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*.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue