diff options
author | Alon Zakai <azakai@mozilla.com> | 2010-12-16 20:17:02 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2010-12-16 20:17:02 -0800 |
commit | 6cd6131d086295438df517d6f9cd7a315253097d (patch) | |
tree | a17ec44755578061eba976f416a4bfd4a8ca7bab /demos/python.html | |
parent | f7d04701e5562dd3dfdda8213fa0ce747f69bc38 (diff) |
python demo comment
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; |