Update docstring with more useful text (from the PEP)
This commit is contained in:
parent
a318a3b2fb
commit
9ede557d34
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue