Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #106944 > unrolled thread

Re: Enum questions.

Started byIan Kelly <ian.g.kelly@gmail.com>
First post2016-04-13 08:10 -0600
Last post2016-04-13 08:10 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Enum questions. Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-13 08:10 -0600

#106944 — Re: Enum questions.

FromIan Kelly <ian.g.kelly@gmail.com>
Date2016-04-13 08:10 -0600
SubjectRe: Enum questions.
Message-ID<mailman.73.1460556648.15650.python-list@python.org>
On Wed, Apr 13, 2016 at 7:50 AM, Grant Edwards
<grant.b.edwards@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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web