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

constant fold isinstance / issubclass / except #898

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Conversation

asottile
Copy link
Owner

@asottile asottile commented Sep 23, 2023

resolves #502

@asottile asottile merged commit 8943547 into main Sep 23, 2023
7 checks passed
@asottile asottile deleted the constant-fold-types branch September 23, 2023 20:17
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.

constant fold isinstance(x, (str, str))
1 participant