Skip to content

Conversation

@gvanrossum
Copy link
Member

  • Move importlib/_modulespec.pyi to _importlib_modulespec.pyi.
  • Move Loader and ModuleType into _importlib_modulespec.pyi.
  • Add "import X as X" for these to types.pyi and importlib/abc.pyi.

The goal is to ensure mypy -i still works, to fix python/mypy#1797.

- Move Loader and ModuleType into _importlib_modulespec.pyi.
- Add "import X as X" for these to types.pyi and importlib/abc.pyi.

The goal is to ensure mypy -i still works, to fix #1797.
@brettcannon
Copy link
Member

LGTM

@gvanrossum gvanrossum merged commit 8515cf5 into master Jul 5, 2016
@gvanrossum gvanrossum deleted the fiximportlib branch July 5, 2016 17:50
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

Successfully merging this pull request may close these issues.

importlib has become part of the "builtins" cycle

3 participants