diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-17 20:38:00 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-17 20:38:00 (GMT) |
commit | 6a00b64429c8e2b70dfd28e7142f55d1bb80ec2d (patch) | |
tree | 81c41dfa82dd5fe02ffe820511f46a81da8290d2 /Doc/library/numbers.rst | |
parent | fdfe62d887d5b695a82dae68006ac3b12c02eb57 (diff) | |
download | cpython-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.rst | 2 |
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) |