Enum questions.

Antoon Pardon antoon.pardon at rece.vub.ac.be
Wed Apr 13 06:12:40 EDT 2016


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.



More information about the Python-list mailing list