diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:25:50 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:25:50 (GMT) |
commit | 3d7d372ce326602b274f44338168688eeb907a3b (patch) | |
tree | 221b3b3ae862fe0b1d068efb97700b55bf0018cf /Doc/ref | |
parent | 182b5aca27d376b08a2904bed42b751496f932f3 (diff) | |
download | cpython-3d7d372ce326602b274f44338168688eeb907a3b.zip cpython-3d7d372ce326602b274f44338168688eeb907a3b.tar.gz cpython-3d7d372ce326602b274f44338168688eeb907a3b.tar.bz2 |
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Doc/ref')
-rw-r--r-- | Doc/ref/reswords.py | 16 |
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() |