Open jayvdb opened 3 years ago
Python
def f(): CODES = {"KEY": 1} return CODES
becomes
def f() CODES = {"KEY" => 1} end
Ruby complains that CODES is a constant, when it was a local variable in Python.
CODES
foo.rb:2: dynamic constant assignment CODES = {"KEY" => 1}
Python
becomes
Ruby complains that
CODES
is a constant, when it was a local variable in Python.