diff options
Diffstat (limited to 'Lib/configparser.py')
-rw-r--r-- | Lib/configparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/configparser.py b/Lib/configparser.py index 230ab2b..ea971f3 100644 --- a/Lib/configparser.py +++ b/Lib/configparser.py @@ -1138,7 +1138,7 @@ class RawConfigParser(MutableMapping): sectiondict = self._sections[section] except KeyError: if section != self.default_section: - raise NoSectionError(section) + raise NoSectionError(section) from None # Update with the entry specific variables vardict = {} if vars: |