Skip to content

Conversation

@ethanfurman
Copy link
Member

@ethanfurmanethanfurman commented Jan 18, 2022

Include the __dunders__ in dir() that make Enum special:

  • __contains__
  • __getitem__
  • __iter__
  • __len__
  • __members__

https://bugs.python.org/issue45535

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ethanfurman@the-knights-who-say-ni@bedevere-bot