diff options
Diffstat (limited to 'Doc/library/configparser.rst')
-rw-r--r-- | Doc/library/configparser.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index ec3b022..96c001f 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -187,8 +187,9 @@ RawConfigParser Objects .. method:: RawConfigParser.add_section(section) Add a section named *section* to the instance. If a section by the given name - already exists, :exc:`DuplicateSectionError` is raised. - + already exists, :exc:`DuplicateSectionError` is raised. If the name + ``DEFAULT`` (or any of it's case-insensitive variants) is passed, + :exc:`ValueError` is raised. .. method:: RawConfigParser.has_section(section) |