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 eb29b02..fb39ac3 100644 --- a/Lib/configparser.py +++ b/Lib/configparser.py @@ -637,7 +637,7 @@ class RawConfigParser: for key, value in section_items: if key == "__name__": continue - if value is not None: + if (value is not None) or (self._optcre == self.OPTCRE): value = delimiter + str(value).replace('\n', '\n\t') else: value = "" |