From: Éric Araujo Date: Thu, 23 Dec 2010 18:41:33 +0000 (+0000) Subject: Fix small inaccuracy: there is no index function X-Git-Tag: v3.2rc1~370 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d699255b42fc075b2fc7259e1394a50bab928459;p=python Fix small inaccuracy: there is no index function --- 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