Skip to content

Commit de51ded

Browse files
gh-106762: Add news for EnumMeta.__getattr__ removal (GH-107466)
1 parent 5eb80a6 commit de51ded

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,10 @@ Removed
12341234

12351235
(Contributed by Pradyun Gedam in :gh:`95299`.)
12361236

1237+
* :mod:`enum`: Remove ``EnumMeta.__getattr__``, which is no longer needed for
1238+
enum attribute access.
1239+
(Contributed by Ethan Furman in :gh:`95083`.)
1240+
12371241
* :mod:`ftplib`: Remove the ``FTP_TLS.ssl_version`` class attribute: use the
12381242
*context* parameter instead.
12391243
(Contributed by Victor Stinner in :gh:`94172`.)

Misc/NEWS.d/3.12.0a1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2752,7 +2752,7 @@ by Shin-myoung-serp.
27522752
.. section: Library
27532753
27542754
Add deprecation warning for enum ``member.member`` access (e.g.
2755-
``Color.RED.BLUE``).
2755+
``Color.RED.BLUE``). Remove ``EnumMeta.__getattr__``.
27562756

27572757
..
27582758

0 commit comments

Comments
 (0)