summaryrefslogtreecommitdiffstats
path: root/third_party/python/ply/example/optcalc/README
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/ply/example/optcalc/README')
-rw-r--r--third_party/python/ply/example/optcalc/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/python/ply/example/optcalc/README b/third_party/python/ply/example/optcalc/README
new file mode 100644
index 0000000000..53dd5fcd55
--- /dev/null
+++ b/third_party/python/ply/example/optcalc/README
@@ -0,0 +1,9 @@
+An example showing how to use Python optimized mode.
+To run:
+
+ - First run 'python calc.py'
+
+ - Then run 'python -OO calc.py'
+
+If working correctly, the second version should run the
+same way.