Yury Selivanov added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20401>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to