Update ConfigParser docs defining valid section name (#110506)

This commit is contained in:
Delgan 2023-12-31 00:18:06 +01:00 committed by GitHub
parent f48a1bcb29
commit 471aa75241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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