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