From: Philipp A Date: Wed, 26 Oct 2022 14:06:20 +0000 (+0200) Subject: gh-98644: point people to tomllib from configparser’s docs (#98645) X-Git-Tag: v3.12.0a2~234 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e74bad93ccc681f0d407aaa3a6830a2d54a20a2;p=thirdparty%2FPython%2Fcpython.git gh-98644: point people to tomllib from configparser’s docs (#98645) Co-authored-by: Jelle Zijlstra --- diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index bf49f2bfbe1b..a925a3dd4fb9 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -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::