Kaydet (Commit) 9ede557d authored tarafından Éric Araujo's avatar Éric Araujo

Update docstring with more useful text (from the PEP)

üst a318a3b2
...@@ -303,7 +303,7 @@ class Integral(Rational): ...@@ -303,7 +303,7 @@ class Integral(Rational):
raise NotImplementedError raise NotImplementedError
def __index__(self): def __index__(self):
"""index(self)""" """Called whenever an index is needed, such as in slicing"""
return long(self) return long(self)
@abstractmethod @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