mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #19795: Mark up None as literal text.
This commit is contained in:
parent
9f2e377beb
commit
ecf41da83e
50 changed files with 108 additions and 106 deletions
|
@ -339,7 +339,7 @@ Connection Objects
|
|||
called as the SQL function.
|
||||
|
||||
The function can return any of the types supported by SQLite: bytes, str, int,
|
||||
float and None.
|
||||
float and ``None``.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -356,7 +356,7 @@ Connection Objects
|
|||
final result of the aggregate.
|
||||
|
||||
The ``finalize`` method can return any of the types supported by SQLite:
|
||||
bytes, str, int, float and None.
|
||||
bytes, str, int, float and ``None``.
|
||||
|
||||
Example:
|
||||
|
||||
|
@ -378,7 +378,7 @@ Connection Objects
|
|||
|
||||
.. literalinclude:: ../includes/sqlite3/collation_reverse.py
|
||||
|
||||
To remove a collation, call ``create_collation`` with None as callable::
|
||||
To remove a collation, call ``create_collation`` with ``None`` as callable::
|
||||
|
||||
con.create_collation("reverse", None)
|
||||
|
||||
|
@ -934,7 +934,7 @@ You can control which kind of ``BEGIN`` statements sqlite3 implicitly executes
|
|||
(or none at all) via the *isolation_level* parameter to the :func:`connect`
|
||||
call, or via the :attr:`isolation_level` property of connections.
|
||||
|
||||
If you want **autocommit mode**, then set :attr:`isolation_level` to None.
|
||||
If you want **autocommit mode**, then set :attr:`isolation_level` to ``None``.
|
||||
|
||||
Otherwise leave it at its default, which will result in a plain "BEGIN"
|
||||
statement, or set it to one of SQLite's supported isolation levels: "DEFERRED",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue