Issue #19795: Mark up None as literal text.

This commit is contained in:
Serhiy Storchaka 2016-10-19 16:29:26 +03:00
parent 9f2e377beb
commit ecf41da83e
50 changed files with 108 additions and 106 deletions

View file

@ -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",