cpython
cpython copied to clipboard
[Enum] make some private attributes public
Feature or enhancement
Make _EnumDict
, _EnumDict._member_names
, and possibly other private names public.
This is to make subclassing EnumType
and other advanced behavior supported, such as having multiple values per member.
Linked PRs
- gh-112514
- gh-121720