summaryrefslogtreecommitdiffstats
path: root/Doc/tools/keywords.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-18 06:25:50 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-18 06:25:50 (GMT)
commit3d7d372ce326602b274f44338168688eeb907a3b (patch)
tree221b3b3ae862fe0b1d068efb97700b55bf0018cf /Doc/tools/keywords.py
parent182b5aca27d376b08a2904bed42b751496f932f3 (diff)
downloadcpython-3d7d372ce326602b274f44338168688eeb907a3b.zip
cpython-3d7d372ce326602b274f44338168688eeb907a3b.tar.gz
cpython-3d7d372ce326602b274f44338168688eeb907a3b.tar.bz2
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Doc/tools/keywords.py')
-rw-r--r--Doc/tools/keywords.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/tools/keywords.py b/Doc/tools/keywords.py
index 876987d..9f32056 100644
--- a/Doc/tools/keywords.py
+++ b/Doc/tools/keywords.py
@@ -4,16 +4,16 @@
l = []
try:
- while 1:
- l = l + raw_input().split()
+ while 1:
+ l = l + raw_input().split()
except EOFError:
- pass
+ pass
l.sort()
for x in l[:]:
- while l.count(x) > 1: l.remove(x)
+ while l.count(x) > 1: l.remove(x)
ncols = 5
nrows = (len(l)+ncols-1)/ncols
for i in range(nrows):
- for j in range(i, len(l), nrows):
- print l[j].ljust(10),
- print
+ for j in range(i, len(l), nrows):
+ print l[j].ljust(10),
+ print