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


Groups > comp.lang.python > #106932

Enum questions.

From Antoon Pardon <antoon.pardon@rece.vub.ac.be>
Newsgroups comp.lang.python
Subject Enum questions.
Date 2016-04-13 12:12 +0200
Message-ID <mailman.67.1460542399.15650.python-list@python.org> (permalink)
References <570E1B98.4080904@rece.vub.ac.be>

Show all headers | View raw


I have been looking at the enum documentation and it
seems enums are missing two features I rather find
important.

1) Given an Enum value, someway to get the next/previous
   one

2) Given two Enum values, iterate over the values between
   them.

Did I miss those in the documentation or are they really
missing?

-- 
Antoon.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Enum questions. Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-04-13 12:12 +0200
  Re: Enum questions. Rustom Mody <rustompmody@gmail.com> - 2016-04-13 03:34 -0700
    Re: Enum questions. Marko Rauhamaa <marko@pacujo.net> - 2016-04-13 13:58 +0300

csiph-web