mirror of https://github.com/python/cpython
Update ConfigParser docs defining valid section name (#110506)
This commit is contained in:
parent
f48a1bcb29
commit
471aa75241
|
@ -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…
Reference in New Issue