bpo-45535: Improve output of Enum ``dir()`` (GH-29316)
Modify the ``EnumType.__dir__()`` and ``Enum.__dir__()`` to ensure that user-defined methods and methods inherited from mixin classes always show up in the output of `help()`. This change also makes it easier for IDEs to provide auto-completion.
A
Alex Waygood committed
b2afdc95cc8f4e9228148730949a43cef0323f15
Parent: cb8f491
Committed by GitHub <noreply@github.com>
on 12/2/2021, 4:49:52 PM