We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Python 3 you can have arbitrary keyword args in a class declaration, as follows:
class C(metaclass=MyMeta, extra=42): ...
Here, mypy reports a syntax error at the comma.
The text was updated successfully, but these errors were encountered:
Ah, I didn't know about that!
Sorry, something went wrong.
Bumping priority since I want to work towards full Python 3 syntax support.
This is fixed; there are tests in test-data/unit/parse.test that do class Foo(metaclass=Bar, _root=None): pass.
class Foo(metaclass=Bar, _root=None): pass
No branches or pull requests
In Python 3 you can have arbitrary keyword args in a class declaration, as follows:
Here, mypy reports a syntax error at the comma.
The text was updated successfully, but these errors were encountered: