Update docstring with more useful text (from the PEP)

This commit is contained in:
Éric Araujo 2012-02-26 01:37:47 +01:00
parent a318a3b2fb
commit 9ede557d34
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ class Integral(Rational):
raise NotImplementedError
def __index__(self):
"""index(self)"""
"""Called whenever an index is needed, such as in slicing"""
return long(self)
@abstractmethod