Ethan Furman <[email protected]> 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@python -> ethan.furman nosy: +ethan.furman _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue34487> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
