]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Update ConfigParser docs defining valid section name (GH-110506) (#113590)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 30 Dec 2023 23:24:39 +0000 (00:24 +0100)
committerGitHub <noreply@github.com>
Sat, 30 Dec 2023 23:24:39 +0000 (23:24 +0000)
Co-authored-by: Delgan <4193924+Delgan@users.noreply.github.com>
Doc/library/configparser.rst

index 3f15b20fb4871ccd682bc1678e29ee0f977b66c4..6a3bb93115dda7c45e8c20c7346e3d054213e0af 100644 (file)
@@ -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