This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients larry, louielu, ncoghlan, python-dev, terry.reedy, yselivanov
Date 2017-05-01.21:36:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Is there any reason that the second case Terry provide still will failed with ValueError?

> class C:
>    def meth2(**kwds): pass

> ip.signature(C().meth2)

Yes, the reason is that `C().meth2` is an invalid method that can't be called. Try calling `C().meth2()` and you will get a TypeError.

There is no bug here.
Date User Action Args
2017-05-01 21:36:19yselivanovsetrecipients: + yselivanov, terry.reedy, ncoghlan, larry, python-dev, louielu
2017-05-01 21:36:19yselivanovsetmessageid: <>
2017-05-01 21:36:19yselivanovlinkissue20401 messages
2017-05-01 21:36:19yselivanovcreate