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

Allow type checking modules assigned to variables #213

Closed
JukkaL opened this issue Jul 11, 2013 · 1 comment
Closed

Allow type checking modules assigned to variables #213

JukkaL opened this issue Jul 11, 2013 · 1 comment
Labels

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Jul 11, 2013

Currently modules are special names. Assignment does not propagate this:

import os
os.getcwd() # ok
x = os
x.getcwd() # error

Aliases to modules should be supported.

@ilevkivskyi
Copy link
Member

This is now fixed on master. (Except for documenting this feature, but there is a separate issue #3494 for this )

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

2 participants