Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork11.5k
Description
Proposed new feature or change:
If I write a function in a python module or in my juptyer notebook, when I am writing to call that function in a jupyter notebook, I can presstab
to see the function signature and docstring. This helps me quickly write code, especially if the function has many arguments. However if I have wrapped the function innp.vectorize
I instead see documentation for thevectorize
class. This spoils the benefits of the tab complete tooling available in jupyter and other IDE-like environments.
I would like if I could still see the docstring for my function even when it is wrapped innp.vectorize
. I know there are tools likefunctools.wraps
that can help with this sort of thing, but I also know that it can still be tricky to get the desired behavior. I wonder if this has been considered before fornp.vectorize
?