Skip to content

Commit

Permalink
[3.12] Update ConfigParser docs defining valid section name (pythonGH…
Browse files Browse the repository at this point in the history
…-110506) (python#113589)

Co-authored-by: Delgan <4193924+Delgan@users.noreply.github.com>
  • Loading branch information
miss-islington and Delgan authored Dec 30, 2023
1 parent c4eaae1 commit 9a2dadf
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 9a2dadf

Please sign in to comment.