summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1999-10-12 16:12:48 (GMT)
committerBarry Warsaw <barry@python.org>1999-10-12 16:12:48 (GMT)
commit2539451fb9ca2cb0828ee10a91ef1ef688670eb3 (patch)
tree955744997b8519230ecaad0286387d3795321f0b
parent2c7b8fe618600ed8ee73e48a70b1da05fa8fde49 (diff)
downloadcpython-2539451fb9ca2cb0828ee10a91ef1ef688670eb3.zip
cpython-2539451fb9ca2cb0828ee10a91ef1ef688670eb3.tar.gz
cpython-2539451fb9ca2cb0828ee10a91ef1ef688670eb3.tar.bz2
fixed a typo in a docstring, and slightly expanded the module
docstring info for readfp().
-rw-r--r--Lib/ConfigParser.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py
index 03f4c6b..f0611f6 100644
--- a/Lib/ConfigParser.py
+++ b/Lib/ConfigParser.py
@@ -50,7 +50,7 @@ ConfigParser -- responsible for for parsing a list of
readfp(fp, filename=None)
read and parse one configuration file, given as a file object.
The filename defaults to fp.name; it is only used in error
- messages.
+ messages (if fp has no `name' attribute, the string `<???>' is used).
get(section, option, raw=0, vars=None)
return a string value for the named option. All % interpolations are
@@ -188,11 +188,10 @@ class ConfigParser:
return opts.has_key(option)
def read(self, filenames):
-
"""Read and parse a filename or a list of filenames.
Files that cannot be opened are silently ignored; this is
- designed so that you can specifiy a list of potential
+ designed so that you can specify a list of potential
configuration file locations (e.g. current directory, user's
home directory, systemwide directory), and all existing
configuration files in the list will be read. A single