Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e44029

Browse files
committed
Several new index entries to make find this easier.
Noted that name=value is allowed in addition to name: value.
1 parent 6e1d78a commit 1e44029

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

Doc/lib/libcfgparser.tex

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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
1012
parser 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
1214
programs which can be customized by end users easily.
1315

1416
The 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

2325
For example:
2426

0 commit comments

Comments
 (0)