constants?

David Goodger dgoodger at bigfoot.com
Mon May 8 05:51:39 CEST 2000


on 2000-05-07 23:03, Brian Alexander (crystalc at interlog.com) wrote:
> I haven't seen anything about constant values in the documentation with
> p152. Is it possible to create constant integers, floats etc?

Nope. Just variables. UPPERCASE is often used as a convention for
constant-equivalent variable names (meaning: "don't touch this!").

-- 
David Goodger    dgoodger at bigfoot.com    Open-source projects:
 - The Go Tools Project: http://gotools.sourceforge.net
 (more to come!)




More information about the Python-list mailing list