diff options
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) |
commit | d699255b42fc075b2fc7259e1394a50bab928459 (patch) | |
tree | 4bc6e1da5f07bfe95441ea1cc15e7c98171259df /Lib | |
parent | 0d26798bbcd290fc58da7b66d655e3128a786a0c (diff) | |
download | cpython-d699255b42fc075b2fc7259e1394a50bab928459.zip cpython-d699255b42fc075b2fc7259e1394a50bab928459.tar.gz cpython-d699255b42fc075b2fc7259e1394a50bab928459.tar.bz2 |
Fix small inaccuracy: there is no index function
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/numbers.py | 2 |
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 |