[issue20530] Change the text signature format (again) to be more robust
Jesús Cea Avión
report at bugs.python.org
Mon Nov 24 01:48:14 CET 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue20530>
_______________________________________
More information about the Python-bugs-list
mailing list