]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-98644: point people to tomllib from configparser’s docs (#98645)
authorPhilipp A <flying-sheep@web.de>
Wed, 26 Oct 2022 14:06:20 +0000 (16:06 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Oct 2022 14:06:20 +0000 (07:06 -0700)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/library/configparser.rst

index bf49f2bfbe1b43a6e4b09d30aff4c7fd85f0cca0..a925a3dd4fb9c2678d16776299cc02da1e453e14 100644 (file)
@@ -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::