Commit 6fc41dd1 authored by Éric Araujo's avatar Éric Araujo

Merge 3.2

parents 146f8709 9c2f42f2
...@@ -303,7 +303,7 @@ class Integral(Rational): ...@@ -303,7 +303,7 @@ class Integral(Rational):
raise NotImplementedError raise NotImplementedError
def __index__(self): def __index__(self):
"""someobject[self]""" """Called whenever an index is needed, such as in slicing"""
return int(self) return int(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