Message211769
Larry, I think you can use undocumented and private (but still heavily tested) 'inspect._signature_internal(skip_bound_arg=False)', instead of signature. That will give you a Signature object with 'self' parameter always included.
And in 3.5 we'll probably make this option (renamed, hopefully), public, and switch pydoc to use new API again.
What do you think? |
|
Date |
User |
Action |
Args |
2014-02-21 00:23:29 | yselivanov | set | recipients:
+ yselivanov, ncoghlan, larry |
2014-02-21 00:23:29 | yselivanov | set | messageid: <1392942209.55.0.970182044944.issue20710@psf.upfronthosting.co.za> |
2014-02-21 00:23:29 | yselivanov | link | issue20710 messages |
2014-02-21 00:23:29 | yselivanov | create | |
|