[Pyrex] Shorthand for wrapping enums?
Greg Ewing
greg at cosc.canterbury.ac.nz
Tue Jun 24 02:08:09 CEST 2003
John J Lee <jjl at pobox.com>:
> UnknownOption = TidyUnknownOption
> IndentSpaces = TidyIndentSpaces
> WrapLen = TidyWrapLen
> ...
>
> Is there a shorthand for this, or for something similar to this? I want
> to say 'expose that whole enum in Python, as a trivial class'.
There's no shorthand for it at the moment, but it's an
interesting idea. Deciding exactly how to go about it
will require some thought, though...
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Pyrex
mailing list