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

imports + getattr completion #23

Closed
dbrgn opened this issue Oct 2, 2012 · 2 comments
Closed

imports + getattr completion #23

dbrgn opened this issue Oct 2, 2012 · 2 comments

Comments

@dbrgn
Copy link
Collaborator

dbrgn commented Oct 2, 2012

import django

class Foo(object):
    global django
    asdf = django

def asdfy():
    return Foo 

xorz = getattr(asdfy()(), 'asdf')
print xorz.<tab>

...doesn't work. Jedi sucks so much.

davidhalter added a commit that referenced this issue Oct 2, 2012
@dbrgn
Copy link
Collaborator Author

dbrgn commented Oct 2, 2012

Cool :)

@davidhalter
Copy link
Owner

2 additions and 9 deletions. :-) that's a good patch ;-)

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

No branches or pull requests

2 participants