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
TypedDict
from typing import TypedDict class A(type): ... class Foo(TypedDict, metaclass=A): x: int
This code raises no errors in mypy. But, PEP says: https://peps.python.org/pep-0589/
Specifying a metaclass is not allowed.
I am working on a PR.
The text was updated successfully, but these errors were encountered:
Closed by #16438
Sorry, something went wrong.
Enum
NamedTuple
sobolevn
No branches or pull requests
This code raises no errors in mypy. But, PEP says: https://peps.python.org/pep-0589/
I am working on a PR.
The text was updated successfully, but these errors were encountered: