diff options
Diffstat (limited to 'demos/python.html')
-rw-r--r-- | demos/python.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/python.html b/demos/python.html index d785de70..6ae93573 100644 --- a/demos/python.html +++ b/demos/python.html @@ -11,7 +11,11 @@ height: 30%; } </style> + + <!-- Changes from automatically generated code: arguments and run(), and in _PyRun_SimpleStringFlags, add + if(!this.RAN_ALREADY){this.RAN_ALREADY=true;throw "halting, since this is the first run" } --> <script src="python.js"></script> + <script> // print function which the Python engine will call var lines = [], printed = false; |