mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Replaced boolean test with 'is None'
This commit is contained in:
parent
8989ea6ce1
commit
0f4940c0a8
2 changed files with 5 additions and 5 deletions
|
@ -270,7 +270,7 @@ class ConfigParser:
|
|||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue