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: <[email protected]> |
| 2014-02-21 00:23:29 | yselivanov | link | issue20710 messages |
| 2014-02-21 00:23:29 | yselivanov | create | |
|