mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Issue #19795: Improved markup of True/False constants.
This commit is contained in:
commit
0e90e99188
44 changed files with 93 additions and 87 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue