Memory leak when spawning
Tim Peters
tim_one at email.msn.com
Thu Feb 15 19:06:48 EST 2001
[jurgen.defurne at philips.com]
> I thought that I could use None, like 'undef' in Perl.
You can, but it will rebind the name None. There is no "don't care"
assignment target in Python.
> Any suggestions on that ?
Use the name undef, if you like:
undef, middle, undef = range(3)
jurgen also works:
jurgen, middle, jurgen = range(3)
However, don't even think about using "tim" for this purpose <wink>.
More information about the Python-list
mailing list