From: Mike Orr <mso@oz.net>
In the docstring of ConfigParser.py (Python 1.5.2b1): read(*filenames) -- read and parse the list of named configuration files should be: read(filenames) -- read and parse the list of named configuration files The method accepts a list, not a bunch of positional arguments. Which is good, the list is much more convenient.
This commit is contained in:
parent
ca44236a1c
commit
c0780ac8f3
|
@ -36,7 +36,7 @@ ConfigParser -- responsible for for parsing a list of
|
||||||
options(section)
|
options(section)
|
||||||
return list of configuration options for the named section
|
return list of configuration options for the named section
|
||||||
|
|
||||||
read(*filenames)
|
read(filenames)
|
||||||
read and parse the list of named configuration files
|
read and parse the list of named configuration files
|
||||||
|
|
||||||
get(section, option, raw=0, vars=None)
|
get(section, option, raw=0, vars=None)
|
||||||
|
|
Loading…
Reference in New Issue