3 ms·
The aliases aren't part of the enum, if you think of the enum as a set of values. Iterating is done on the values, not the names. (the next paragraph gives yo
by Tobu 13y ago
The aliases aren't part of the enum, if you think of the enum as a set of values. Iterating is done on the values, not the names.
(the next paragraph gives you the __members__ ordered dict, if you want to iterate on something else)