[3.11] Update ConfigParser docs defining valid section name (GH-110506) (#113590)
https://github.com/python/cpython/commit/02912125b45f62ec66bba440a98bfa80af9... commit: 02912125b45f62ec66bba440a98bfa80af95a8d9 branch: 3.11 author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> committer: hugovk <hugovk@users.noreply.github.com> date: 2023-12-30T23:24:39Z summary: [3.11] Update ConfigParser docs defining valid section name (GH-110506) (#113590) Co-authored-by: Delgan <4193924+Delgan@users.noreply.github.com> files: M Doc/library/configparser.rst 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
participants (1)
-
hugovk