Skip to content

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

Merged
JelleZijlstra merged 1 commit into
python:masterfrom
AlexWaygood:unneeded-casts
Mar 8, 2023
Merged

JelleZijlstra merged 1 commit into
python:masterfrom
AlexWaygood:unneeded-casts

Conversation

@AlexWaygood

Copy link
Copy Markdown
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

github-actions Bot commented Mar 8, 2023

Copy link
Copy Markdown
Contributor

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