Merge 3.2

This commit is contained in:
Éric Araujo 2011-11-03 16:45:33 +01:00
commit 6fc41dd1e3
1 changed files with 1 additions and 1 deletions

View File

@ -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