Skip to content

Commit d50ba23

Browse files
Delganaisk
authored andcommitted
Update ConfigParser docs defining valid section name (python#110506)
1 parent f91025c commit d50ba23

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)