Local variables persist in functions?

120psi at gmail.com 120psi at gmail.com
Fri Nov 24 10:25:42 EST 2006


> http://www.python.org/doc/faq/general.html#why-are-default-values-shared-between-objects

Thanks for the link.  I think I'll stick to None as the default value,
as that's a good way to keep the usability and make my code work ;)




More information about the Python-list mailing list