pep 8 constants

Aahz aahz at pythoncraft.com
Thu Jan 22 01:16:00 EST 2009


In article <mailman.7174.1231915778.3487.python-list at python.org>,
Brendan Miller <catphive at catphive.net> wrote:
>
>PEP 8 doesn't mention anything about using all caps to indicate a constant.

Now it does!  See
http://www.python.org/dev/peps/pep-0008/

Thanks for bringing this up!
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.



More information about the Python-list mailing list