From d699255b42fc075b2fc7259e1394a50bab928459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Thu, 23 Dec 2010 18:41:33 +0000 Subject: Fix small inaccuracy: there is no index function --- Lib/numbers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12