Skip to content

gh-103215: Remove redundant if stmt from enum.EnumType._find_data_type_ #103222

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

Conversation

sadra-barikbin
Copy link
Contributor

@sadra-barikbin sadra-barikbin commented Apr 3, 2023

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@ghost
Copy link

ghost commented Apr 3, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@sadra-barikbin sadra-barikbin changed the title 103215: Remove redundant if stmt from enum.py::EnumType::_find_data_type_() #103215: Remove redundant if stmt from enum.py::EnumType::_find_data_type_() Apr 3, 2023
@sobolevn sobolevn changed the title #103215: Remove redundant if stmt from enum.py::EnumType::_find_data_type_() gh-103215: Remove redundant if stmt from enum.EnumType._find_data_type_ Apr 3, 2023
Copy link
Member

@ethanfurman ethanfurman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ethanfurman ethanfurman merged commit d3a7732 into python:main Apr 3, 2023
@sadra-barikbin sadra-barikbin deleted the Fix-redundant-if-in-enum-issue-103215 branch April 3, 2023 21:54
gaogaotiantian pushed a commit to gaogaotiantian/cpython that referenced this pull request Apr 8, 2023
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redundant if statement in EnumType._find_data_type_() in enum.py
4 participants