Skip to content

Commit

Permalink
gh-98644: point people to tomllib from configparser’s docs (#98645)
Browse files Browse the repository at this point in the history
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
  • Loading branch information
flying-sheep and JelleZijlstra committed Oct 26, 2022
1 parent 9495360 commit 5e74bad
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Doc/library/configparser.rst
Expand Up @@ -33,13 +33,17 @@ can be customized by end users easily.

.. seealso::

Module :mod:`tomllib`
TOML is a well-specified format for application configuration files.
It is specifically designed to be an improved version of INI.

Module :mod:`shlex`
Support for creating Unix shell-like mini-languages which can be used as
an alternate format for application configuration files.
Support for creating Unix shell-like mini-languages which can also
be used 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 ``json`` module implements a subset of JavaScript syntax which is
sometimes used for configuration, but does not support comments.


.. testsetup::
Expand Down

0 comments on commit 5e74bad

Please sign in to comment.