aboutsummaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/python.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/demos/python.html b/demos/python.html
index 1d924b4e..04684072 100644
--- a/demos/python.html
+++ b/demos/python.html
@@ -12,8 +12,18 @@
}
</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" } -->
+ <!--
+ Changes from automatically generated code:
+
+ * At the beginning, add |arguments=[]| before |var args=arguments|;
+
+ * In |_PyRun_SimpleStringFlags|, add
+
+ if(!this.RAN_ALREADY){this.RAN_ALREADY=true;throw "halting, since this is the first run" }
+
+ * At the end, comment out |run(args)|.
+ -->
+
<script src="python.js"></script>
<script>