Huh? func_defaults, default values in function calls

Mikael Olofsson mikael at isy.liu.se
Wed Apr 12 03:49:30 EDT 2000


On 12-Apr-00 Mark Hathaway wrote:
 >  This way you'll never really know what the default is going to be.
 >  Ha ha ha ha. that's pathetic.

Actually, it's a feature. It makes it possible to have a local variable
that survives from one call of the function to another.

/Mikael

-----------------------------------------------------------------------
E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael
Phone:   +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date:    12-Apr-00
Time:    09:46:57

This message was sent by XF-Mail.
-----------------------------------------------------------------------



More information about the Python-list mailing list