Skip to content

empty string as keyword argument #153

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

Closed
ikanobori opened this issue Jul 4, 2014 · 2 comments
Closed

empty string as keyword argument #153

ikanobori opened this issue Jul 4, 2014 · 2 comments
Labels

Comments

@ikanobori
Copy link
Contributor

If a function is defined with an empty string as default argument like this:

def f(a=""):
    pass

this empty string is not shown in the suggestions window.


@ikanobori
Copy link
Contributor Author

Fixed in <<changeset 9fb8524eb3f7>>. Thanks for reporting.


Original Comment By: Andreas Stührk

@ikanobori
Copy link
Contributor Author

Attached is a patch that fixes the issue. repr() is now used for displaying argument default values.


Original Comment By: Andreas Stührk

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

No branches or pull requests

1 participant