]> granicus.if.org Git - python/commit
Added the 7 new top level domains, and reworded the nameorgs output.
authorBarry Warsaw <barry@python.org>
Fri, 7 Jun 2002 15:48:52 +0000 (15:48 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 7 Jun 2002 15:48:52 +0000 (15:48 +0000)
commitaef8371acb087411cde39d2e278ee8f779308740
tree7035441a3aaf0f3a38071a664107be84b73ad939
parent9e9d4f8ed8d467d0558251f43c5decc754712d53
Added the 7 new top level domains, and reworded the nameorgs output.
Not sure this is better in all cases.

parse(): Fixed a bug in the output; the dict is referred to in the
code as `countries' not `country'.  Also added no-case-fold for the
string "U.S." since the Virgin Islands name no longer wraps those in
parentheses.

main(): Fixed the argument parsing to agree with the docstring, i.e.
--outputdict instead of --output.

In the module docstring:

- updated my email address
- we don't need to explain about Python 1.5 regexps <wink>

We also don't need to wrap the import of re with a try/except.

Other style fixes:

- untabification
- revert back to <> style everywhere (and consistently)
Tools/world/world