Sorry, something went wrong.
|
It seems to me that the implementation approach here is strange, surprising, and could have unexpected consequences. Why did you choose this rather than actually checking for wrapped, and following it (recursively) if found? |
Sorry, something went wrong.
|
Thanks for the PR, @eamanu, but this has already been resolved by PR GH-19479, as described and discussed in bpo-40257. |
Sorry, something went wrong.
When print the docstring using help builtin for an wrapper function
it doesn't correspond to the function wrapped. For avoid this
this PR add the follow_wrapped option to help() function.
This is the continuation of the wrong #12915
cc: @chrahunt @taleinat
https://bugs.python.org/issue29940