2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

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

View File

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