From 6dcf99075101bfc94d98ed8211a129a3589ad350 Mon Sep 17 00:00:00 2001 From: Delgan <4193924+Delgan@users.noreply.github.com> Date: Sun, 31 Dec 2023 00:18:06 +0100 Subject: [PATCH] Update ConfigParser docs defining valid section name (GH-110506) (cherry picked from commit 471aa752415029c508693fa7971076f5148022a6) 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 3f15b20fb4871c..6a3bb93115dda7 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