mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Update ConfigParser docs defining valid section name (#110506)
This commit is contained in:
parent
f48a1bcb29
commit
471aa75241
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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue