Enums and Python
Aahz Maruch
aahz at netcom.com
Tue Jun 20 22:21:35 EDT 2000
In article <QoU35.15352$Xx5.796205 at bgtnsc06-news.ops.worldnet.att.net>,
William Dandreta <wjdandreta at worldnet.att.net> wrote:
>
>Is there a Python type like the C enum type?
I generally prefer using a dict to simulate it.
--
--- Aahz (Copyright 2000 by aahz at netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"This is Usenet. We're all masturbating in public places." -DH
More information about the Python-list
mailing list