From 02912125b45f62ec66bba440a98bfa80af95a8d9 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 31 Dec 2023 00:24:39 +0100 Subject: [PATCH] [3.11] Update ConfigParser docs defining valid section name (GH-110506) (#113590) Co-authored-by: Delgan <4193924+Delgan@users.noreply.github.com> --- Doc/library/configparser.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index 3f15b20fb487..6a3bb93115dd 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -271,7 +271,7 @@ out. Values can also span multiple lines, as long as they are indented deeper than the first line of the value. Depending on the parser's mode, blank lines may be treated as parts of multiline values or ignored. -By default, a valid section name can be any string that does not contain '\\n' or ']'. +By default, a valid section name can be any string that does not contain '\\n'. To change this, see :attr:`ConfigParser.SECTCRE`. Configuration files may include comments, prefixed by specific -- 2.47.3