1 """Spit out the Python reserved words table."""
8 words
= keyword
.kwlist
[:]
10 colwidth
= 1 + max(map(len, words
))
12 nrows
= (nwords
+ ncols
- 1) / ncols
13 for irow
in range(nrows
):
14 for icol
in range(ncols
):
15 i
= irow
+ icol
* nrows
20 print "%-*s" % (colwidth
, word
),