Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show function signature when docstring is empty #2704

Open
piti118 opened this issue Dec 18, 2012 · 3 comments
Open

Show function signature when docstring is empty #2704

piti118 opened this issue Dec 18, 2012 · 3 comments
Milestone

Comments

@piti118
Copy link
Contributor

piti118 commented Dec 18, 2012

similar to #987

def my_function( my, argument, name, is_descriptive)
    return None #but I have no docstring

my_function(<TAB>

It should at least show the function signature (if available via co_varname etc.)

I'm willing to push the code if you could point me where to look.

@Carreau
Copy link
Member

Carreau commented Dec 18, 2012

Console Qtconsole or notebook ?

It does show the function sig for me (notebook):

my_function(my, argument, name, is_descriptive)
<no docstring>

qtconsole/console does list the variable in namespace...

@piti118
Copy link
Contributor Author

piti118 commented Dec 18, 2012

In notebook Hmm. for me tool tips doesn't even show up. Let me try upgrade to head version and try again.

@minrk
Copy link
Member

minrk commented Jul 6, 2013

@piti118 are the function definition and the completion happening in the same cell in the notebook? If so, that would explain the issue - the completions for code that doesn't exist yet on the kernel are very primitive (pure js).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants