summaryrefslogtreecommitdiffstats
path: root/Doc/reference/datamodel.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-11 14:30:18 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-11 14:30:18 (GMT)
commit95817b36f0310f21fa2ec4099db72596b3442c13 (patch)
treeef148aec01d7bd43ba57875cce9620d8a8fd7d73 /Doc/reference/datamodel.rst
parent6e6dcb5719cd3fec7a917e3d7954247305d8e50d (diff)
downloadcpython-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.rst7
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.