summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/reswords.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/ref/reswords.py b/Doc/ref/reswords.py
index 29f326f..68862bb 100644
--- a/Doc/ref/reswords.py
+++ b/Doc/ref/reswords.py
@@ -11,13 +11,13 @@ def main():
nwords = len(words)
nrows = (nwords + ncols - 1) / ncols
for irow in range(nrows):
- for icol in range(ncols):
- i = irow + icol * nrows
- if 0 <= i < nwords:
- word = words[i]
- else:
- word = ""
- print "%-*s" % (colwidth, word),
- print
+ for icol in range(ncols):
+ i = irow + icol * nrows
+ if 0 <= i < nwords:
+ word = words[i]
+ else:
+ word = ""
+ print "%-*s" % (colwidth, word),
+ print
main()