summaryrefslogtreecommitdiffstats
path: root/Tools/idle
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-15 14:08:20 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-15 14:08:20 (GMT)
commit99d3c48772a2980e47b75659e98ea171bedd79ac (patch)
tree2e17a596bd5f503a4c41d750c539da66738de6fb /Tools/idle
parent0e0d3e7c2bcc8c987746827c88bcf26d99e93a80 (diff)
downloadcpython-99d3c48772a2980e47b75659e98ea171bedd79ac.zip
cpython-99d3c48772a2980e47b75659e98ea171bedd79ac.tar.gz
cpython-99d3c48772a2980e47b75659e98ea171bedd79ac.tar.bz2
Cosmetic change
Diffstat (limited to 'Tools/idle')
-rw-r--r--Tools/idle/test.py28
1 files changed, 20 insertions, 8 deletions
diff --git a/Tools/idle/test.py b/Tools/idle/test.py
index 36e1ab2..05eaa56 100644
--- a/Tools/idle/test.py
+++ b/Tools/idle/test.py
@@ -1,19 +1,31 @@
+import string
-def f(): a = b = c = d = e = 0; g()
+def f():
+ a = 0
+ b = 1
+ c = 2
+ d = 3
+ e = 4
+ g()
-def g(): h()
+def g():
+ h()
-def h(): i()
+def h():
+ i()
-def i(): j()
+def i():
+ j()
-def j(): k()
+def j():
+ k()
-def k(): l()
+def k():
+ l()
l = lambda: test()
def test():
- exec "import string; string.capwords(None)" in {}
+ string.capwords(1)
-k()
+f()