const in Python

Anders M Eriksson anders.eriksson at morateknikutveckling.se
Mon Feb 7 11:13:46 EST 2000


Hello!

Would someone please explain why there isn't a const 'operator' in
Python!

Very often I have constants in my code and it would be nice if Python
could check that someone (.I.) don't change them!


// Anders
-- 
English isn't my first or second language, 
so errors or anything that you find offending is not there on 
purpose it's just due to the translation.



More information about the Python-list mailing list