@@ -17,7 +17,7 @@ \section{\module{ConfigParser} ---
1717with continuations in the style of \rfc {959}. The optional values
1818can contain format strings which refer to other values in the same
1919section, or values in a special \code {DEFAULT} section. Additional
20- defaults can provided upon instantiation of the class .
20+ defaults can be provided upon initialization and retrieval .
2121
2222For example:
2323
@@ -29,7 +29,9 @@ \section{\module{ConfigParser} ---
2929expansions are done late, on demand.
3030
3131Intrinsic defaults can be specified by passing them into the
32- \class {ConfigParser} constructor as a dictionary.
32+ \class {ConfigParser} constructor as a dictionary. Additional defaults
33+ may be passed into the \method {get} method which will override all
34+ others.
3335
3436\begin {classdesc }{ConfigParser}{\optional {defaults}}
3537Return a new instance of the \class {ConfigParser} class. When
@@ -66,6 +68,7 @@ \section{\module{ConfigParser} ---
6668Exception raised when errors occur attempting to parse a file.
6769\end {excdesc }
6870
71+
6972\subsection {ConfigParser Objects \label {ConfigParser-objects } }
7073
7174\class {ConfigParser} instances have the following methods:
@@ -91,11 +94,11 @@ \subsection{ConfigParser Objects \label{ConfigParser-objects}}
9194Read and parse a list of filenames.
9295\end {methoddesc }
9396
94- \begin {methoddesc }{get}{section, option\optional {, raw}}
97+ \begin {methoddesc }{get}{section, option\optional {, raw\optional {, vars} }}
9598Get an \var {option} value for the provided \var {section}. All the
9699\samp {\% } interpolations are expanded in the return values, based on
97- the defaults passed into the constructor, unless the \var {raw}
98- argument is true.
100+ the defaults passed into the constructor, as well as the options
101+ \var {vars} provided, unless the \var {raw} argument is true.
99102\end {methoddesc }
100103
101104\begin {methoddesc }{getint}{section, option}
0 commit comments