8000 gh-98644: point people to tomllib from configparser’s docs (GH-98645) · python/cpython@ca266aa · GitHub
[go: up one dir, main page]

Skip to content

Commit ca266aa

Browse files
gh-98644: point people to tomllib from configparser’s docs (GH-98645)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 5e74bad) Co-authored-by: Philipp A <flying-sheep@web.de>
1 parent ce2b56e commit ca266aa

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Doc/library/configparser.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ can be customized by end users easily.
3333

3434
.. seealso::
3535

36+
Module :mod:`tomllib`
37+
TOML is a well-specified format for application configuration files.
38+
It is specifically designed to be an improved version of INI.
39+
3640
Module :mod:`shlex`
37-
Support for creating Unix shell-like mini-languages which can be used as
38-
an alternate format for application configuration files.
41+
Support for creating Unix shell-like mini-languages which can also
42+
be used for application configuration files.
3943

4044
Module :mod:`json`
41-
The json module implements a subset of JavaScript syntax which can also
42-
be used for this purpose.
45+
The ``json`` module implements a subset of JavaScript syntax which is
46+
sometimes used for configuration, but does not support comments.
4347

4448

4549
.. testsetup::

0 commit comments

Comments
 (0)
0