[Python-checkins] cpython (3.1): #9101: backport json reference in configparser doc.
ezio.melotti
python-checkins at python.org
Thu Apr 14 05:54:15 CEST 2011
http://hg.python.org/cpython/rev/d0ada1e369cd
changeset: 69338:d0ada1e369cd
branch: 3.1
parent: 69335:135cf9104f56
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Thu Apr 14 06:41:38 2011 +0300
summary:
#9101: backport json reference in configparser doc.
files:
Doc/library/configparser.rst | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst
--- a/Doc/library/configparser.rst
+++ b/Doc/library/configparser.rst
@@ -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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list