Enum questions.

Ian Kelly ian.g.kelly at gmail.com
Wed Apr 13 10:10:00 EDT 2016


On Wed, Apr 13, 2016 at 7:50 AM, Grant Edwards
<grant.b.edwards at gmail.com> wrote:
> FWIW, as an old Pascal programmer, I too would have been surprised
> that an "enum" is not ordinal and doesn't support a next/prev and
> iteration.

They do support iteration, but it's by order of declaration, not by value.



More information about the Python-list mailing list