8000 Use PEP 604 syntax for TypeStrVisitor by cdce8p · Pull Request #19179 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Use PEP 604 syntax for TypeStrVisitor #19179

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
May 30, 2025

Conversation

cdce8p
Copy link
Collaborator
@cdce8p cdce8p commented May 30, 2025

No description provided.

@cdce8p cdce8p added the topic-pep-604 PEP 604 (union | operator) label May 30, 2025
@cdce8p cdce8p force-pushed the use-or-syntax-reveal-type branch from 64118a8 to f6da570 Compare May 30, 2025 19:58
@cdce8p cdce8p changed the title Use PEP 604 syntax for reveal_type Use PEP 604 syntax for TypeStrVisitor May 30, 2025
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@hauntsaninja hauntsaninja merged commit 057508b into python:master May 30, 2025
19 checks passed
@cdce8p cdce8p deleted the use-or-syntax-reveal-type branch May 30, 2025 22:43
cdce8p added a commit to cdce8p/mypy that referenced this pull request May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-pep-604 PEP 604 (union | operator)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0