Following a recent change, we now have in traceback.py:
_sentinel = object()
def print_exception(exc, /, value=_sentinel, tb=_sentinel, limit=None,
file=None, chain=True):
So now:
>>> import traceback
>>> help(traceback.print_exception)
Help on function print_exception in module traceback:
print_exception(exc, /, value=<object object at
0x000002825DF09650>, tb=<object object at 0x000002825DF09650>,
limit=None, file=None, chain=True)
Is there a convention on how such default sentinel values should appear in
docs?
https://bugs.python.org/issue43024
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/ZLVPD2OISI7M4POMTR2FCQTE6TPMPTO3/
Code of Conduct: http://python.org/psf/codeofconduct/