mirror of
https://github.com/python/cpython.git
synced 2025-10-01 21:02:15 +00:00
[3.12] Update ConfigParser docs defining valid section name (GH-110506) (#113589)
Co-authored-by: Delgan <4193924+Delgan@users.noreply.github.com>
This commit is contained in:
parent
c4eaae1864
commit
9a2dadf689
1 changed files with 1 additions and 1 deletions
|
@ -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
|
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.
|
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`.
|
To change this, see :attr:`ConfigParser.SECTCRE`.
|
||||||
|
|
||||||
Configuration files may include comments, prefixed by specific
|
Configuration files may include comments, prefixed by specific
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue