diff options
author | Georg Brandl <georg@python.org> | 2008-05-11 14:30:18 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-11 14:30:18 (GMT) |
commit | 95817b36f0310f21fa2ec4099db72596b3442c13 (patch) | |
tree | ef148aec01d7bd43ba57875cce9620d8a8fd7d73 /Doc/reference/datamodel.rst | |
parent | 6e6dcb5719cd3fec7a917e3d7954247305d8e50d (diff) | |
download | cpython-95817b36f0310f21fa2ec4099db72596b3442c13.zip cpython-95817b36f0310f21fa2ec4099db72596b3442c13.tar.gz cpython-95817b36f0310f21fa2ec4099db72596b3442c13.tar.bz2 |
Remove mentions of "plain" integers.
Diffstat (limited to 'Doc/reference/datamodel.rst')
-rw-r--r-- | Doc/reference/datamodel.rst | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 1e33fa3..3912d1e 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -172,10 +172,7 @@ Ellipsis There are two types of integers: - Plain integers - .. index:: - object: plain integer - single: OverflowError (built-in exception) + Integers These represent numbers in an unlimited range, subject to available (virtual) memory only. For the purpose of shift and mask operations, a binary @@ -191,7 +188,7 @@ Ellipsis 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 - subtype of plain integers, and Boolean values behave like the values 0 and 1, + 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. |