new class-instance is not getting initialized

Axel Straschil axel at pizza.home.kosnet.com
Sun Mar 16 02:21:35 CET 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