[Python-checkins] r87445 - python/branches/py3k/Lib/numbers.py

eric.araujo python-checkins at python.org
Thu Dec 23 19:41:33 CET 2010


Author: eric.araujo
Date: Thu Dec 23 19:41:33 2010
New Revision: 87445

Log:
Fix small inaccuracy: there is no index function


Modified:
   python/branches/py3k/Lib/numbers.py

Modified: python/branches/py3k/Lib/numbers.py
==============================================================================
--- python/branches/py3k/Lib/numbers.py	(original)
+++ python/branches/py3k/Lib/numbers.py	Thu Dec 23 19:41:33 2010
@@ -303,7 +303,7 @@
         raise NotImplementedError
 
     def __index__(self):
-        """index(self)"""
+        """someobject[self]"""
         return int(self)
 
     @abstractmethod


More information about the Python-checkins mailing list