Skip to content

Commit 7254762

Browse files
committed
Closes #12036: ConfigParser: Document items() added the vars dictionary to the result
1 parent 219a5dc commit 7254762

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/configparser.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,11 @@ ConfigParser Objects
10641064
given *section*. Optional arguments have the same meaning as for the
10651065
:meth:`get` method.
10661066

1067+
.. versionchanged:: 3.2
1068+
1069+
Items present in *vars* no longer appear in the result. The previous
1070+
behaviour mixed actual parser options with variables provided for
1071+
interpolation.
10671072

10681073
.. method:: set(section, option, value)
10691074

0 commit comments

Comments
 (0)