diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2021-12-02 16:49:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 16:49:52 (GMT) |
commit | b2afdc95cc8f4e9228148730949a43cef0323f15 (patch) | |
tree | 00f99a2e959b803ee11434f6866215ac63dc90e6 /Python/dynamic_annotations.c | |
parent | cb8f491f46e262549f6c447b31625cab7c20a60a (diff) | |
download | cpython-b2afdc95cc8f4e9228148730949a43cef0323f15.zip cpython-b2afdc95cc8f4e9228148730949a43cef0323f15.tar.gz cpython-b2afdc95cc8f4e9228148730949a43cef0323f15.tar.bz2 |
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.
Diffstat (limited to 'Python/dynamic_annotations.c')
0 files changed, 0 insertions, 0 deletions