Skip to content

Commit

Permalink
Update ConfigParser docs defining valid section name (python#110506)
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan authored and aisk committed Feb 11, 2024
1 parent f91025c commit d50ba23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/configparser.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d50ba23

Please sign in to comment.