mirror of https://github.com/python/cpython
Docs: fix two typos in the sqlite3 docs (#95661)
- statment => statement - transaciton => transaction
This commit is contained in:
parent
bdbadb905a
commit
962acd4468
|
@ -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*.
|
||||||
|
|
Loading…
Reference in New Issue