Skip to content

Allow type checking modules assigned to variables #213

Closed

Description

@JukkaL

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.

Activity

  1. ilevkivskyi commented on Jun 10, 2017

    @ilevkivskyi
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions