summaryrefslogtreecommitdiffstats
path: root/Doc/library/numbers.rst
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-17 20:38:00 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-17 20:38:00 (GMT)
commit6a00b64429c8e2b70dfd28e7142f55d1bb80ec2d (patch)
tree81c41dfa82dd5fe02ffe820511f46a81da8290d2 /Doc/library/numbers.rst
parentfdfe62d887d5b695a82dae68006ac3b12c02eb57 (diff)
downloadcpython-6a00b64429c8e2b70dfd28e7142f55d1bb80ec2d.zip
cpython-6a00b64429c8e2b70dfd28e7142f55d1bb80ec2d.tar.gz
cpython-6a00b64429c8e2b70dfd28e7142f55d1bb80ec2d.tar.bz2
Removed some versionadded tags, and a reference to "long" in a sample
Diffstat (limited to 'Doc/library/numbers.rst')
-rw-r--r--Doc/library/numbers.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/numbers.rst b/Doc/library/numbers.rst
index ef4bd80..e2d08bb 100644
--- a/Doc/library/numbers.rst
+++ b/Doc/library/numbers.rst
@@ -181,7 +181,7 @@ forward and reverse instances of any given operator. For example,
def _operator_fallbacks(monomorphic_operator, fallback_operator):
def forward(a, b):
- if isinstance(b, (int, long, Fraction)):
+ if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)