diff -r c28db6f7616b -r d14ff9d7eb76 svgui/pyjs/pyjs.py --- a/svgui/pyjs/pyjs.py Wed Aug 16 12:57:52 2017 +0300 +++ b/svgui/pyjs/pyjs.py Wed Aug 16 13:01:13 2017 +0300 @@ -874,8 +874,8 @@ if staticmethod: staticfunc = ast.Function([], class_name_+"."+node.name, node.argnames, node.defaults, node.flags, node.doc, node.code, node.lineno) self._function(staticfunc, True) - print >>self.output, " " + UU+class_name_ + ".prototype.__class__." + node.name + " = " + class_name_+"."+node.name+";"; - print >>self.output, " " + UU+class_name_ + ".prototype.__class__." + node.name + ".static_method = true;"; + print >>self.output, " " + UU+class_name_ + ".prototype.__class__." + node.name + " = " + class_name_+"."+node.name+";" + print >>self.output, " " + UU+class_name_ + ".prototype.__class__." + node.name + ".static_method = true;" return else: if len(arg_names) == 0: