summaryrefslogtreecommitdiffstats
path: root/Tools/idle/testcode.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/idle/testcode.py')
-rw-r--r--Tools/idle/testcode.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/Tools/idle/testcode.py b/Tools/idle/testcode.py
new file mode 100644
index 0000000..05eaa56
--- /dev/null
+++ b/Tools/idle/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()