Commit e2544bc9 authored by Éric Araujo's avatar Éric Araujo

Fix incorrect docstring I changed a while back.

New wording is taken straight from the PEP, so this time should be good
:)
parent c465b2f8
......@@ -303,7 +303,7 @@ class Integral(Rational):
raise NotImplementedError
def __index__(self):
"""someobject[self]"""
"""Called whenever an index is needed, such as in slicing"""
return int(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