[issue45302] 10 built-in functions need non-None .__text_signature__
Serhiy Storchaka
report at bugs.python.org
Sun Oct 3 04:33:23 EDT 2021
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
There are reasons for this. There is no supported by inspect.signature() syntax to adequately define the signature of say getattr(). It has one required parameter and one optional parameter, but the default value of the optional parameter cannot be expressed.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45302>
_______________________________________
More information about the Python-bugs-list
mailing list