diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2023-12-05 16:27:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 16:27:36 (GMT) |
commit | de6bca956432cc852a4a41e2a2cee9cdacd19f35 (patch) | |
tree | 148193ac3a0e6275461b4731e22279561ff90893 /Misc/NEWS.d/next/Library/2023-11-28-20-47-39.gh-issue-112328.Z2AxEY.rst | |
parent | 563ccded6e83bfdd8c5622663c4edb679e96e08b (diff) | |
download | cpython-de6bca956432cc852a4a41e2a2cee9cdacd19f35.zip cpython-de6bca956432cc852a4a41e2a2cee9cdacd19f35.tar.gz cpython-de6bca956432cc852a4a41e2a2cee9cdacd19f35.tar.bz2 |
gh-112328: [Enum] Make some private attributes public. (GH-112514)
* [Enum] Make some private attributes public.
- ``_EnumDict`` --> ``EnumDict``
- ``EnumDict._member_names`` --> ``EnumDict.member_names``
- ``Enum._add_alias_``
- ``Enum._add_value_alias_``
---------
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Misc/NEWS.d/next/Library/2023-11-28-20-47-39.gh-issue-112328.Z2AxEY.rst')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-11-28-20-47-39.gh-issue-112328.Z2AxEY.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-11-28-20-47-39.gh-issue-112328.Z2AxEY.rst b/Misc/NEWS.d/next/Library/2023-11-28-20-47-39.gh-issue-112328.Z2AxEY.rst new file mode 100644 index 0000000..6e69024 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-11-28-20-47-39.gh-issue-112328.Z2AxEY.rst @@ -0,0 +1,2 @@ +[Enum] Make ``EnumDict``, ``EnumDict.member_names``, +``EnumType._add_alias_`` and ``EnumType._add_value_alias_`` public. |