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

Disallow __init__ in interfaces #52

Closed
JukkaL opened this issue Jan 25, 2013 · 0 comments
Closed

Disallow __init__ in interfaces #52

JukkaL opened this issue Jan 25, 2013 · 0 comments
Labels
bug mypy got something wrong

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Jan 25, 2013

An interface that defines __init__ should be rejected. Only classes can have constructors.

JukkaL added a commit that referenced this issue Jan 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

No branches or pull requests

2 participants