@@ -5,20 +5,22 @@ \section{\module{ConfigParser} ---
55\modulesynopsis {Configuration file parser.}
66\sectionauthor {Christopher G. Petrilli}{
[email protected] }
77
8- This module defines the class \class {ConfigParser}. The
9- \class {ConfigParser} class implements a basic configuration file
8+ This module defines the class \class {ConfigParser}.
9+ \indexii {.ini}{file}\indexii {configuration}{file}\index {ini file}
10+ \index {Windows ini file}
11+ The \class {ConfigParser} class implements a basic configuration file
1012parser language which provides a structure similar to what you would
11- find on Microsoft Windows INI files. You can use this to write Python
13+ find on Microsoft Windows INI files. You can use this to write Python
1214programs which can be customized by end users easily.
1315
1416The configuration file consists of sections, lead by a
1517\samp {[section]} header and followed by \samp {name: value} entries,
16- with continuations in the style of \rfc {822}. The optional values
17- can contain format strings which refer to other values in the same
18- section, or values in a special \code {DEFAULT} section. Additional
19- defaults can be provided upon initialization and retrieval. Lines
20- beginning with \character {\# } are ignored and may be used to provide
21- comments.
18+ with continuations in the style of \rfc {822}; \samp {name=value} is
19+ also accepted. The optional values can contain format strings which
20+ refer to other values in the same section, or values in a special
21+ \code {DEFAULT} section. Additional defaults can be provided upon
22+ initialization and retrieval. Lines beginning with \character {\# } are
23+ ignored and may be used to provide comments.
2224
2325For example:
2426
0 commit comments