From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 26 Oct 2022 14:14:44 +0000 (-0700) Subject: gh-98644: point people to tomllib from configparser’s docs (GH-98645) X-Git-Tag: v3.11.1~196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca266aaf451e9fe6cee99e2d224f6433e8fc525a;p=thirdparty%2FPython%2Fcpython.git gh-98644: point people to tomllib from configparser’s docs (GH-98645) Co-authored-by: Jelle Zijlstra (cherry picked from commit 5e74bad93ccc681f0d407aaa3a6830a2d54a20a2) Co-authored-by: Philipp A --- diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index 72aa20d73d8b..bfd6a7f58b3e 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::