Fix small inaccuracy: there is no index function

This commit is contained in:
Éric Araujo 2010-12-23 18:41:33 +00:00
parent 0d26798bbc
commit d699255b42

View file

@ -303,7 +303,7 @@ class Integral(Rational):
raise NotImplementedError
def __index__(self):
"""index(self)"""
"""someobject[self]"""
return int(self)
@abstractmethod