[docs] [issue34487] enum _sunder_ names mix metaclass and enum class attributes

Ethan Furman report at bugs.python.org
Mon Aug 27 18:27:19 EDT 2018

Ethan Furman <ethan at stoneleaf.us> added the comment:

All those attributes live in the Enum class.  If you use a non-existent attribute, such as _name, then the metaclass will be called to check if that name is actually an Enum member.

assignee: docs at python -> ethan.furman
nosy: +ethan.furman

Python tracker <report at bugs.python.org>

More information about the docs mailing list