diff options
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 |
commit | 5f3e6325f62d4a1a4e090dc2d203d4d18399dc8b (patch) | |
tree | 379e4442a86b05c1e50cd794dcfb92659a079cbe /Lib/numbers.py | |
parent | 986fc144436547f440680a26344fbd06ca4e3ab8 (diff) | |
download | cpython-5f3e6325f62d4a1a4e090dc2d203d4d18399dc8b.tar.gz |
Fix small inaccuracy: there is no index function
Diffstat (limited to 'Lib/numbers.py')
-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 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 |