mirror of
https://github.com/python/cpython.git
synced 2025-11-13 07:26:31 +00:00
Added a useful warning to the documentation.
This commit is contained in:
parent
33e94437ca
commit
56b3184e89
1 changed files with 4 additions and 2 deletions
|
|
@ -13,10 +13,12 @@ This module defines the class \class{ConfigParser}.
|
||||||
\index{Windows ini file}
|
\index{Windows ini file}
|
||||||
The \class{ConfigParser} class implements a basic configuration file
|
The \class{ConfigParser} class implements a basic configuration file
|
||||||
parser language which provides a structure similar to what you would
|
parser language which provides a structure similar to what you would
|
||||||
find on Microsoft Windows INI files. You can use this to write Python
|
find on Microsoft Windows INI files. (Beware: this library does \emph{not}
|
||||||
|
interpret or write the value-type prefixes used in the Windows
|
||||||
|
Registry extended version of INI syntax.) You can use this to write Python
|
||||||
programs which can be customized by end users easily.
|
programs which can be customized by end users easily.
|
||||||
|
|
||||||
The configuration file consists of sections, lead by a
|
The configuration file consists of sections, led by a
|
||||||
\samp{[section]} header and followed by \samp{name: value} entries,
|
\samp{[section]} header and followed by \samp{name: value} entries,
|
||||||
with continuations in the style of \rfc{822}; \samp{name=value} is
|
with continuations in the style of \rfc{822}; \samp{name=value} is
|
||||||
also accepted. Note that leading whitespace is removed from values.
|
also accepted. Note that leading whitespace is removed from values.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue