-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Document that collections.abc types are subscriptable #89612
Comments
Since 3.9, the types in collections.abc are subscriptable and can be used as type hints, but this is not documented. |
Just to clarify: some type checkers will still allow using them as type hints in Python versions before 3.9, but |
Thanks, Filipe! ✨ 🍰 ✨ |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: