[Python-Dev] r87445 - python/branches/py3k/Lib/numbers.py (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Thu Dec 23 20:55:28 CET 2010
- Previous message: [Python-Dev] [Python-checkins] r87270 - python/branches/py3k/Doc/library/urllib.request.rst
- Next message: [Python-Dev] r87445 - python/branches/py3k/Lib/numbers.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 23 Dec 2010 19:41:33 +0100 (CET) eric.araujo <python-checkins at python.org> wrote:
def index(self): - """index(self)""" + """someobject[self]"""
This is misleading as to what the method actually does, as you can read in the implementation:
return int(self)
- Previous message: [Python-Dev] [Python-checkins] r87270 - python/branches/py3k/Doc/library/urllib.request.rst
- Next message: [Python-Dev] r87445 - python/branches/py3k/Lib/numbers.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]