summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/testcode.py
diff options
context:
space:
mode:
authorDavid Scherer <dscherer@cmu.edu>2000-08-15 01:13:23 (GMT)
committerDavid Scherer <dscherer@cmu.edu>2000-08-15 01:13:23 (GMT)
commit7aced17437a6b05bc4b0b5ff93aa6a5d3a374d68 (patch)
treece0576a16111fd86ac5f56ff4ec1500f29c4f8db /Lib/idlelib/testcode.py
parent33a6da9971a923ceaaee1406d0feaa64b8d1759a (diff)
downloadcpython-7aced17437a6b05bc4b0b5ff93aa6a5d3a374d68.zip
cpython-7aced17437a6b05bc4b0b5ff93aa6a5d3a374d68.tar.gz
cpython-7aced17437a6b05bc4b0b5ff93aa6a5d3a374d68.tar.bz2
Initial revision
Diffstat (limited to 'Lib/idlelib/testcode.py')
-rw-r--r--Lib/idlelib/testcode.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/Lib/idlelib/testcode.py b/Lib/idlelib/testcode.py
new file mode 100644
index 0000000..05eaa56
--- /dev/null
+++ b/Lib/idlelib/testcode.py
@@ -0,0 +1,31 @@
+import string
+
+def f():
+ a = 0
+ b = 1
+ c = 2
+ d = 3
+ e = 4
+ g()
+
+def g():
+ h()
+
+def h():
+ i()
+
+def i():
+ j()
+
+def j():
+ k()
+
+def k():
+ l()
+
+l = lambda: test()
+
+def test():
+ string.capwords(1)
+
+f()