]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update ConfigParser docs defining valid section name (#110506)
authorDelgan <4193924+Delgan@users.noreply.github.com>
Sat, 30 Dec 2023 23:18:06 +0000 (00:18 +0100)
committerGitHub <noreply@github.com>
Sat, 30 Dec 2023 23:18:06 +0000 (16:18 -0700)
Doc/library/configparser.rst

index 12eee47613d1864061f24ba44556ed6e702d9611..4d0dad20287a90684bd52acb3dc502cce436fba1 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