Felipe Almeida Lessa <felipe.lessa at gmail.com> writes: > > print_members('shorter:', months_shorter_than_february) > > print_members('longer:', months_longer_than_february) > > IMHO, you should be using sets, not enums. Something like: If enums aren't supposed to work in that construction then the PEP shouldn't specify that they work that way.