Jesús Cea Avión added the comment:
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.
----------
nosy: +jcea
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20530>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com