new class-instance is not getting initialized

Axel Straschil axel at pizza.home.kosnet.com
Sat Mar 15 20:21:35 EST 2003


Hallo!

>>>> def g(x, l=None):
> ...  if l is None:
> ...   l = [] # this way it'll be a unique object every time

Yes, this way everything is working fine now, thanks!

Lg,
AXEL.




More information about the Python-list mailing list