view ply-3.8/example/optcalc/README @ 9538:780c4584c9fd

<shachaf> sled bin/hlnp//s/hg log/revset=tip:0 \\& ! (9071 | 9070 | 5897 | 5895)\\nhg log -r "$revset"/
author HackBot
date Sun, 30 Oct 2016 10:55:40 +0000
parents 343ff337a19b
children
line wrap: on
line source

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.