mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
#9101: backport json reference in configparser doc.
This commit is contained in:
parent
a2472d28fd
commit
7f9d2ead34
1 changed files with 10 additions and 0 deletions
|
@ -32,6 +32,16 @@ easily.
|
||||||
This library does *not* interpret or write the value-type prefixes used in
|
This library does *not* interpret or write the value-type prefixes used in
|
||||||
the Windows Registry extended version of INI syntax.
|
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
|
The configuration file consists of sections, led by a ``[section]`` header and
|
||||||
followed by ``name: value`` entries, with continuations in the style of
|
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
|
:rfc:`822` (see section 3.1.1, "LONG HEADER FIELDS"); ``name=value`` is also
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue