[Tutor] functions and default argument
Praveen Singh
c2praveen30jun at gmail.com
Fri Oct 21 15:00:08 CEST 2011
In function-
"Default value is *evaluated only once*.This makes different when the
default is a mutable object such as a list, dictionary or instance of most
classes."
I am not getting it properly-evaluated once?? different behaviour???--
please explain this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111021/aea9410d/attachment.html>
More information about the Tutor
mailing list