summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/testcode.py
diff options
context:
space:
mode:
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()