]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
From: Mike Orr <mso@oz.net>
authorGuido van Rossum <guido@python.org>
Sat, 30 Jan 1999 04:35:47 +0000 (04:35 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 30 Jan 1999 04:35:47 +0000 (04:35 +0000)
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.

Lib/ConfigParser.py

index 2116dcabf3eb0be8ca2fc8356d383c9db8446f65..bc646e41e2bc4e1b176eab14e6f77ae70572d1dd 100644 (file)
@@ -36,7 +36,7 @@ ConfigParser -- responsible for for parsing a list of
     options(section)
         return list of configuration options for the named section
 
-    read(*filenames)
+    read(filenames)
         read and parse the list of named configuration files
 
     get(section, option, raw=0, vars=None)