svgui/pyjs/lib/pyjslib.py
changeset 2439 f0a040f1de1b
parent 2411 3a883a76abe0
child 2444 235f847be37e
equal deleted inserted replaced
2438:0f2e5303f212 2439:f0a040f1de1b
   283 
   283 
   284     def toString(self):
   284     def toString(self):
   285         return "AttributeError: %s of %s" % (self.args[1], self.args[0])
   285         return "AttributeError: %s of %s" % (self.args[1], self.args[0])
   286 
   286 
   287 
   287 
   288 JS("""
   288 JS(r"""
   289 pyjslib.StopIteration = function () { };
   289 pyjslib.StopIteration = function () { };
   290 pyjslib.StopIteration.prototype = new Error();
   290 pyjslib.StopIteration.prototype = new Error();
   291 pyjslib.StopIteration.name = 'StopIteration';
   291 pyjslib.StopIteration.name = 'StopIteration';
   292 pyjslib.StopIteration.message = 'StopIteration';
   292 pyjslib.StopIteration.message = 'StopIteration';
   293 
   293