]> granicus.if.org Git - python/commitdiff
Fix docs for ConfigParser.
authorRaymond Hettinger <python@rcn.com>
Sun, 1 Mar 2009 02:07:25 +0000 (02:07 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 1 Mar 2009 02:07:25 +0000 (02:07 +0000)
Doc/library/configparser.rst

index 1de11b9a627109950e4b680d9ea8897c32c92e82..bab44d45145f40b55d87c7e90b202fc04dc4700b 100644 (file)
@@ -76,7 +76,7 @@ write-back, as will be the keys within each section.
       *dict_type* was added.
 
 
-.. class:: ConfigParser([defaults])
+.. class:: ConfigParser([defaults[, dict_type]])
 
    Derived class of :class:`RawConfigParser` that implements the magical
    interpolation feature and adds optional arguments to the :meth:`get` and
@@ -92,7 +92,7 @@ write-back, as will be the keys within each section.
    equivalent.
 
 
-.. class:: SafeConfigParser([defaults])
+.. class:: SafeConfigParser([defaults[, dict_type]])
 
    Derived class of :class:`ConfigParser` that implements a more-sane variant of
    the magical interpolation feature.  This implementation is more predictable as