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 cast in semanal_namedtuple.py #14875

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Mar 11, 2023

Split off from #14860, since this one is a no-brainer.

args[0] has just been narrowed to be of type StrExpr in the lines immediately above, and args is the same as call.args.

Split off from python#14860, since this one is a no-brainer
@github-actions
Copy link
Contributor

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

@JelleZijlstra JelleZijlstra merged commit 32dd3c0 into python:master Mar 11, 2023
@AlexWaygood AlexWaygood deleted the patch-1 branch March 11, 2023 15:08
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