[Python-ideas] constant/enum type in stdlib

Barry Warsaw barry at python.org
Tue Feb 12 16:42:02 CET 2013


On Feb 12, 2013, at 05:49 PM, Tim Delaney wrote:

>_ is aliased to EnumParams so you can do:

_() is very commonly used for gettext translations, by long established
convention.  This is convention is inherited by Python from GNU gettext.

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130212/5e4a93a3/attachment.pgp>


More information about the Python-ideas mailing list