confused with local variables being retained
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Tue Nov 21 15:07:07 EST 2000
Tue, 21 Nov 2000 19:24:26 GMT, Tim Hochberg <tim.hochberg at ieee.org> pisze:
> In practice this means that you should stay away from using mutable
> objects (e.g., lists) as default arguments.
Or just don't mutate these arguments.
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list