Simplification: use dict.update()

This commit is contained in:
Thomas Nagy 2016-03-16 22:59:59 +01:00
parent b63ae9b2ef
commit ddead0ed59
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 2 deletions

View File

@ -312,8 +312,7 @@ class ConfigSet(object):
:param d: object to use the value from
:type d: dict-like object
"""
for k, v in d.items():
self[k] = v
self.table.update(d)
def stash(self):
"""