Skip to content

basics.html still claims you need to "import typing" #1

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
gvanrossum opened this issue Apr 14, 2016 · 1 comment
Closed

basics.html still claims you need to "import typing" #1

gvanrossum opened this issue Apr 14, 2016 · 1 comment

Comments

@gvanrossum
Copy link
Collaborator

This page: http://mypy.readthedocs.org/en/latest/basics.html still claims

a module is type checked only if it imports the module typing.

This is wrong. Instead, it would make more sense for this page to explain to that whenever you use Any, Iterable or such, they must be imported from typing.

@JukkaL
Copy link
Owner

JukkaL commented May 5, 2016

This was fixed a a while ago.

@JukkaL JukkaL closed this as completed May 5, 2016
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