mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
When creating an Enum, type.__new__ calls __init_subclass__, but at that point the members have not been added. This patch suppresses the initial call, then manually calls the ancestor __init_subclass__ before returning the new Enum class. |
||
|---|---|---|
| .. | ||
| 2020-08-03-17-54-32.bpo-41462.ek38d_.rst | ||
| 2020-10-02-10-19-49.bpo-41907.wiIEsz.rst | ||
| 2020-12-08-22-43-35.bpo-42678.ba9ktU.rst | ||
| 2020-12-09-15-23-28.bpo-31904.g3k5k3.rst | ||
| README.rst | ||
Put news entry `blurb`_ files for the *Library* section in this directory. .. _blurb: https://pypi.org/project/blurb/