Skip to content
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

Remove unnecessary casts in stubtest.py and types.py #14856

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

AlexWaygood
Copy link
Member

The stubtest.py cast is no longer needed -- I think the mypyc issue was fixed by python/typeshed#9146.

The types.py casts were never needed. They were added relatively recently by somebody called "Alex Waygood".

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2023

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

@JelleZijlstra JelleZijlstra merged commit dfe0281 into python:master Mar 8, 2023
@AlexWaygood AlexWaygood deleted the unneeded-casts branch March 8, 2023 17:21
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