pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

return is not a function in python

Open snoopyjc opened this issue 3 years ago • 1 comments

Translation of:

return;

to:

return()

actually returns an empty tuple. The proper code should be:

return

snoopyjc avatar Nov 21 '21 07:11 snoopyjc

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

snoopyjc avatar Feb 07 '22 16:02 snoopyjc