summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-12-23 18:41:33 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-12-23 18:41:33 (GMT)
commitd699255b42fc075b2fc7259e1394a50bab928459 (patch)
tree4bc6e1da5f07bfe95441ea1cc15e7c98171259df
parent0d26798bbcd290fc58da7b66d655e3128a786a0c (diff)
downloadcpython-d699255b42fc075b2fc7259e1394a50bab928459.zip
cpython-d699255b42fc075b2fc7259e1394a50bab928459.tar.gz
cpython-d699255b42fc075b2fc7259e1394a50bab928459.tar.bz2
Fix small inaccuracy: there is no index function
-rw-r--r--Lib/numbers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/numbers.py b/Lib/numbers.py
index 82960f0..b5a49c6 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