diff options
author | Greg Ward <gward@python.net> | 2000-05-23 01:42:17 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-05-23 01:42:17 (GMT) |
commit | d5d8a9982b77ef54fcacf8ff7bfa449a2eab35db (patch) | |
tree | 1035bd9e4b7ce6741ad90983175acc07a4b5451a /Lib/ConfigParser.py | |
parent | 32000e84646e1c8a1b0307551b54223cee489570 (diff) | |
download | cpython-d5d8a9982b77ef54fcacf8ff7bfa449a2eab35db.zip cpython-d5d8a9982b77ef54fcacf8ff7bfa449a2eab35db.tar.gz cpython-d5d8a9982b77ef54fcacf8ff7bfa449a2eab35db.tar.bz2 |
Marching towards full support of config files: thoroughly overhauled the
command-line parsing code, splitting it up into several methods (new
methods: '_parse_command_opts()', '_show_help()') and making it put options
into the 'command_options' dictionary rather than instantiating command
objects and putting them there.
Lots of other little changes:
* merged 'find_command_class()' and 'create_command_obj()' and
called the result 'get_command_class()'
* renamed 'find_command_obj()' to 'get_command_obj()', and added
command object creation and maintenance of the command object cache to
its responsibilities (taken over from 'create_command_obj()')
* parse config files one-at-a-time, so we can keep track of the
filename for later error reporting
* tweaked some help messages
* fixed up many obsolete comments and docstrings
Diffstat (limited to 'Lib/ConfigParser.py')
0 files changed, 0 insertions, 0 deletions