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

Fast parser does not error on functions with both type comments and type annotations #2733

Closed
ddfisher opened this issue Jan 21, 2017 · 1 comment

Comments

@ddfisher
Copy link
Collaborator

For example, this should not be valid:

def f() -> None:
  # type: () -> None
  pass
@afrieder
Copy link
Contributor

This can be closed.

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

No branches or pull requests

3 participants