Mercurial > cpython-lru_cache-weakref
diff Lib/ConfigParser.py @ 23611:21b1d742e4a7 legacy-trunk
Replaced boolean test with 'is None'
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sat, 01 Jun 2002 00:57:55 +0000 |
| parents | f5fd7e295897 |
| children | a1de0bab5475 |
line wrap: on
line diff
--- a/Lib/ConfigParser.py Sat Jun 01 00:06:20 2002 +0000 +++ b/Lib/ConfigParser.py Sat Jun 01 00:57:55 2002 +0000 @@ -270,7 +270,7 @@ d = self.__defaults.copy() d.update(sectdict) # Update with the entry specific variables - if vars: + if vars is not None: d.update(vars) option = self.optionxform(option) try:
