Skip to content

Commit 9a2dadf

Browse files
[3.12] Update ConfigParser docs defining valid section name (GH-110506) (#113589)
Co-authored-by: Delgan <[email protected]>
1 parent c4eaae1 commit 9a2dadf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/configparser.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ out. Values can also span multiple lines, as long as they are indented deeper
271271
than the first line of the value. Depending on the parser's mode, blank lines
272272
may be treated as parts of multiline values or ignored.
273273

274-
By default, a valid section name can be any string that does not contain '\\n' or ']'.
274+
By default, a valid section name can be any string that does not contain '\\n'.
275275
To change this, see :attr:`ConfigParser.SECTCRE`.
276276

277277
Configuration files may include comments, prefixed by specific

0 commit comments

Comments
 (0)