softpano / pythonizer

Translator (or more correctly transcriber) from Perl to Python
http://www.softpanorama.org/Scripting/Pythonorama/Python_for_perl_programmers/Pythonizer/index.shtml
Other
39 stars 17 forks source link

Multiple undef's in a list unpack only generate one in the python code #63

Open snoopyjc opened 2 years ago

snoopyjc commented 2 years ago

Multiple undef's in a list unpack only generate one in the python code. For example:

(undef, undef, $i) = @arr;

Will generate:

[Null, i] = arr
snoopyjc commented 2 years ago

Fixed in https://github.com/snoopyjc/pythonizer