This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jcea
Recipients georg.brandl, jcea, larry, ncoghlan, python-dev, serhiy.storchaka, yselivanov, zach.ware
Date 2014-11-24.00:48:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416790094.34.0.757029082611.issue20530@psf.upfronthosting.co.za>
In-reply-to
Content
Preparing a presentation about Python Magic methods I found something weird: (Python 3.4)

"""
>>> help(int.__lt__)
Help on wrapper_descriptor:

__lt__(self, value, /)  <- THIS!!
    Return self<value.
"""

I am amused about the "/)" suffix in the signature. It happens to all magic methods.
History
Date User Action Args
2014-11-24 00:48:14jceasetrecipients: + jcea, georg.brandl, ncoghlan, larry, python-dev, zach.ware, serhiy.storchaka, yselivanov
2014-11-24 00:48:14jceasetmessageid: <1416790094.34.0.757029082611.issue20530@psf.upfronthosting.co.za>
2014-11-24 00:48:14jcealinkissue20530 messages
2014-11-24 00:48:14jceacreate