FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support new union type syntax with isinstance by JukkaL · Pull Request #10775 · python/mypy · GitHub

Repository navigation

Support new union type syntax with isinstance - #10775

Merged
JukkaL merged 1 commit into
masterfrom
isinstance-union
Jul 7, 2021
Merged

JukkaL merged 1 commit into
masterfrom
isinstance-union

Conversation

JukkaL commented Jul 6, 2021

Copy link
Copy Markdown
Collaborator

Support things like isinstance(x, int | str) in Python 3.10

Closes #9880.

Support things like `isinstance(x, int | str)` in Python 3.10

Closes #9880.
JukkaL merged commit f137f11 into master Jul 7, 2021
JukkaL deleted the isinstance-union branch July 7, 2021 09:11
AlexWaygood added the topic-pep-604 PEP 604 (union | operator) label Apr 6, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Support PEP 604 syntax for runtime use cases

3 participants


Back | FazBrowse Home | New Git URL