[Python-checkins] gh-98644: point people to tomllib from configparser’s docs (#98645)
JelleZijlstra
webhook-mailer at python.org
Wed Oct 26 10:06:31 EDT 2022
https://github.com/python/cpython/commit/5e74bad93ccc681f0d407aaa3a6830a2d54a20a2
commit: 5e74bad93ccc681f0d407aaa3a6830a2d54a20a2
branch: main
author: Philipp A <flying-sheep at web.de>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-10-26T07:06:20-07:00
summary:
gh-98644: point people to tomllib from configparser’s docs (#98645)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra at gmail.com>
files:
M Doc/library/configparser.rst
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::
More information about the Python-checkins
mailing list