Skip to content
Prev Previous commit
Next Next commit
Wording improvement
  • Loading branch information
sblondon committed Sep 12, 2019
commit 42dc02a955b92c740c3eb91a18237480baa576f7
7 changes: 4 additions & 3 deletions Doc/library/configparser.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ involves the ``DEFAULT`` section which provides default values for all other
sections [1]_. Note also that keys in sections are
case-insensitive and stored in lowercase [1]_.

Comment thread
sblondon marked this conversation as resolved.
If it is necessary to read several configurations, with each one having more
priority than the previous one, an instance of :class:`ConfigParser` can be
used to override previously defined properties and retain existing ones.
It is possible to read several configurations into a single
:class:`ConfigParser`, where the most recently added configuration has the
highest priority. Any conflicting keys are taken from the more recent
configuration while the previously existing keys are retained.

.. doctest::

Expand Down