[issue45988] inspect.signature fails on a @staticmethod

Vedran Čačić report at bugs.python.org
Sun Dec 5 17:00:56 EST 2021


Vedran Čačić <vedgar at gmail.com> added the comment:

Of course, signature should be imported from inspect, not from typing. In that case, the example works on Python 3.10 and 3.11.

----------
nosy: +veky

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


More information about the Python-bugs-list mailing list