Skip to content

Use PEP 585 syntax in collections #7657

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

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

AlexWaygood
Copy link
Member

For some reason I excluded this in the script I used in #7635. I think I remember the last time I tried refactoring typeshed to use PEP 585 syntax everwhere (#6688), it caused mypy crashes if I imported from collections.abc inside collections/__init__.pyi. But it doesn't seem to now, anyway :)

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood AlexWaygood merged commit 073f9f4 into python:master Apr 18, 2022
@AlexWaygood AlexWaygood deleted the collections-585 branch April 18, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants