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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d699255b42fc075b2fc7259e1394a50bab928459;p=thirdparty%2FPython%2Fcpython.git Fix small inaccuracy: there is no index function --- diff --git a/Lib/numbers.py b/Lib/numbers.py index 82960f04cea2..b5a49c67c5af 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