Commit 9ede557d authored by Éric Araujo's avatar Éric Araujo

Update docstring with more useful text (from the PEP)

parent a318a3b2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment