Js2Py icon indicating copy to clipboard operation
Js2Py copied to clipboard

fix: SyntaxWarning: "is" with a literal

Open milahu opened this issue 3 years ago • 0 comments

fix #255

build warning is

/build/Js2Py-0.71/js2py/internals/opcodes.py:801: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if not issubclass(globals()[g], OP_CODE) or g is 'OP_CODE':

milahu avatar May 11 '22 21:05 milahu