[issue43024] improve signature (in help, etc) for functions taking sentinel defaults

Irit Katriel report at bugs.python.org
Mon Jan 25 10:14:23 EST 2021


Irit Katriel <iritkatriel at yahoo.com> added the comment:

The PR changes the output to:

>>> help(traceback.print_exception)
Help on function print_exception in module traceback:

print_exception(exc, /, value=<optional>, tb=<optional>, limit=None, file=None, chain=True)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43024>
_______________________________________


More information about the Python-bugs-list mailing list