Update ConfigParser docs defining valid section name (#110506)
https://github.com/python/cpython/commit/471aa752415029c508693fa7971076f5148... commit: 471aa752415029c508693fa7971076f5148022a6 branch: main author: Delgan <4193924+Delgan@users.noreply.github.com> committer: hugovk <hugovk@users.noreply.github.com> date: 2023-12-30T16:18:06-07:00 summary: Update ConfigParser docs defining valid section name (#110506) files: M Doc/library/configparser.rst diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index 12eee47613d186..4d0dad20287a90 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -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
participants (1)
-
hugovk