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

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jul 6, 2021

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 JukkaL merged commit f137f11 into master Jul 7, 2021
@JukkaL JukkaL deleted the isinstance-union branch July 7, 2021 09:11
@AlexWaygood AlexWaygood added the topic-pep-604 PEP 604 (union | operator) label Apr 6, 2022
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