You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new = ""
for c in orig:
new += "\0" + c
return new
--------------------------------------------------------------------------------
Syntax Error on this line:
__new__>>+= "\0" + c
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/bin/transpile", line 1951, in <module>
main()
File "/usr/local/bin/transpile", line 1725, in main
package = build(modules, base_path, datadirs=datadirs )
File "/usr/local/bin/transpile", line 834, in build
pyjs = python_to_pythonjs(script, go=True, module_path=module_path)
File "<string>", line 5627, in python_to_pythonjs
File "<string>", line 2364, in __init__
File "<string>", line 1390, in transform_source
File "<string>", line 1466, in parse_and_fix_code
File "<unknown>", line 116
__new__>>+= "\0" + c
^
SyntaxError: invalid syntax
(^ is under the =)
The text was updated successfully, but these errors were encountered:
Code being parsed:
(^ is under the =)
The text was updated successfully, but these errors were encountered: