En Tue, 16 Dec 2008 00:45:05 -0200, Giampaolo Rodola' <gne...@gmail.com>
escribió:

Another doubt is the naming convention. PEP-8 states that global
variables should use the lower_case_naming_convention but I've seen a
lot of library module using the UPPER_CASE_NAMING_CONVENTION. What am
I supposed to do about it?

Are you sure those UPPER_CASE names you've seen are actually variables? or
constants like:

CRLF = '\r\n'

(ok, it's not a true "constant" because the language doesn't prevent you
 from modifying it... but the "intended usage" is to be a constant)

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to