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
I can imagine this being useful for testing (where asserts are actually common and useful). Something like this should typecheck:
class A: pass class B(A): attr = None x = B() # type: A assert isinstance(x, B) x.attr
The text was updated successfully, but these errors were encountered:
oops was a dup
Sorry, something went wrong.
For reference, the duplicate is #475
No branches or pull requests
I can imagine this being useful for testing (where asserts are actually common and useful). Something like this should typecheck:
The text was updated successfully, but these errors were encountered: