pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

keys is a method, not a property

Open snoopyjc opened this issue 3 years ago • 1 comments

Generated code for:

@arr = keys %hash;

is

arr=hash.keys

It should be:

arr=hash.keys()

snoopyjc avatar Nov 13 '21 04:11 snoopyjc

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

snoopyjc avatar Feb 07 '22 16:02 snoopyjc