8000 bpo-46242: better error message for extending `Enum` with members by sobolevn · Pull Request #30357 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-46242: better error message for extending Enum with members #30357

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 3 commits into from
Jan 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update 2022-01-03-16-25-06.bpo-46242.f4l_CL.rst
  • Loading branch information
sobolevn authored Jan 3, 2022
commit 19772acf56f71f6a6207377ef58e6a22a5682266
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Improve error message when creating a new :class:`enum.Enum` type subclassing an existing ``Enum`` with ``_member_names_`` using :method:`enum.Enum.__call__`.
Improve error message when creating a new :class:`enum.Enum` type subclassing an existing ``Enum`` with ``_member_names_`` using :meth:`enum.Enum.__call__`.
0