(original) (raw)
changeset: 69338:d0ada1e369cd branch: 3.1 parent: 69335:135cf9104f56 user: Ezio Melotti ezio.melotti@gmail.com date: Thu Apr 14 06:41:38 2011 +0300 files: Doc/library/configparser.rst description: #9101: backport json reference in configparser doc. diff -r 135cf9104f56 -r d0ada1e369cd Doc/library/configparser.rst --- a/Doc/library/configparser.rst Wed Apr 13 16:04:27 2011 -0500 +++ b/Doc/library/configparser.rst Thu Apr 14 06:41:38 2011 +0300 @@ -26,6 +26,16 @@ This library does *not* interpret or write the value-type prefixes used in the Windows Registry extended version of INI syntax. +.. seealso:: + + Module :mod:`shlex` + Support for a creating Unix shell-like mini-languages which can be used + as an alternate format for application configuration files. + + Module :mod:`json` + The json module implements a subset of JavaScript syntax which can also + be used for this purpose. + The configuration file consists of sections, led by a ``[section]`` header and followed by ``name: value`` entries, with continuations in the style of :rfc:`822` (see section 3.1.1, "LONG HEADER FIELDS"); ``name=value`` is also /ezio.melotti@gmail.com