summaryrefslogtreecommitdiff
path: root/Lib/numbers.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-12-23 18:41:33 +0000
committerÉric Araujo <merwok@netwok.org>2010-12-23 18:41:33 +0000
commit5f3e6325f62d4a1a4e090dc2d203d4d18399dc8b (patch)
tree379e4442a86b05c1e50cd794dcfb92659a079cbe /Lib/numbers.py
parent986fc144436547f440680a26344fbd06ca4e3ab8 (diff)
downloadcpython-5f3e6325f62d4a1a4e090dc2d203d4d18399dc8b.tar.gz
Fix small inaccuracy: there is no index function
Diffstat (limited to 'Lib/numbers.py')
-rw-r--r--Lib/numbers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/numbers.py b/Lib/numbers.py
index 82960f04ce..b5a49c67c5 100644
--- a/Lib/numbers.py
+++ b/Lib/numbers.py
@@ -303,7 +303,7 @@ class Integral(Rational):
raise NotImplementedError
def __index__(self):
- """index(self)"""
+ """someobject[self]"""
return int(self)
@abstractmethod