Issue #19795: Improved markup of True/False constants.

This commit is contained in:
Serhiy Storchaka 2013-11-29 12:19:53 +02:00
commit 0e90e99188
44 changed files with 93 additions and 87 deletions

View file

@ -201,7 +201,7 @@ Ellipsis
single: True
These represent the truth values False and True. The two objects representing
the values False and True are the only Boolean objects. The Boolean type is a
the values ``False`` and ``True`` are the only Boolean objects. The Boolean type is a
subtype of the integer type, and Boolean values behave like the values 0 and 1,
respectively, in almost all contexts, the exception being that when converted to
a string, the strings ``"False"`` or ``"True"`` are returned, respectively.