diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-24 15:35:50 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-24 15:35:50 (GMT) |
commit | 4892ab7f79dbd7a0ee19afa83944be5f3f5b0507 (patch) | |
tree | 7c00da4abdfe4f10013d57b6216f24da7f0824a6 /Mac/Tools/twit/twittest.py | |
parent | f5b31c94a29674d1ca7d7f9c86cc91d16f060952 (diff) | |
download | cpython-4892ab7f79dbd7a0ee19afa83944be5f3f5b0507.zip cpython-4892ab7f79dbd7a0ee19afa83944be5f3f5b0507.tar.gz cpython-4892ab7f79dbd7a0ee19afa83944be5f3f5b0507.tar.bz2 |
The Window Independent Tracer (which will probably move elsewhere once
it is truly window-independent:-)
Diffstat (limited to 'Mac/Tools/twit/twittest.py')
-rw-r--r-- | Mac/Tools/twit/twittest.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Mac/Tools/twit/twittest.py b/Mac/Tools/twit/twittest.py new file mode 100644 index 0000000..10d3693 --- /dev/null +++ b/Mac/Tools/twit/twittest.py @@ -0,0 +1,13 @@ +# Test program + +def foo(arg1, arg2): + bar(arg1+arg2) + bar(arg1-arg2) + foo(arg1+1, arg2-1) + +def bar(arg): + rv = 10/arg + print rv + +foo(0,10) + |