Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #106944
| From | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Enum questions. |
| Date | 2016-04-13 08:10 -0600 |
| Message-ID | <mailman.73.1460556648.15650.python-list@python.org> (permalink) |
| References | <570E1B98.4080904@rece.vub.ac.be> <CAGgTfkPfcwamSgRFH9PwuVV4MGsnDwcZOD1=bS=7z+RWnEP0eg@mail.gmail.com> <nelir9$163$1@ger.gmane.org> <CALwzidk0W3_oKatrsML=LfT2jZ5ogo0edDCOMN=ON4UMOe5Evw@mail.gmail.com> |
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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Enum questions. Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-13 08:10 -0600
csiph-web