A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2014-November/137239.html below:

[Python-Dev] Strange "help(int.__lt__)". Probably documentation bug

[Python-Dev] Strange "help(int.__lt__)". Probably documentation bug [Python-Dev] Strange "help(int.__lt__)". Probably documentation bugVictor Stinner victor.stinner at gmail.com
Thu Nov 27 13:42:06 CET 2014
2014-11-27 13:41 GMT+01:00 Victor Stinner <victor.stinner at gmail.com>:
> 2014-11-27 13:28 GMT+01:00 Jesus Cea <jcea at jcea.es>:
>> http://bugs.python.org/issue20530#msg231584
>
> Copy/paste of the message:
>
> 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.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4