[Python-checkins] cpython (2.7): #9101: backport json reference in configparser doc.
ezio.melotti
python-checkins at python.org
Thu Apr 14 05:54:21 CEST 2011
http://hg.python.org/cpython/rev/5a09a335e8e7
changeset: 69341:5a09a335e8e7
branch: 2.7
parent: 69331:00d6e594a40e
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Thu Apr 14 06:53:44 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
@@ -32,6 +32,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