.
This commit is contained in:
parent
ebca76e680
commit
62a5b63d89
@ -504,7 +504,7 @@ def insert_deep_dictionary(d: MutableMapping, t: tuple, value):
|
||||
|
||||
def append_deep_dictionary(d: MutableMapping, t: tuple, value):
|
||||
if type(t) is tuple:
|
||||
if len(t) is 1:
|
||||
if len(t) == 1:
|
||||
if t[0] not in d:
|
||||
d[t[0]] = []
|
||||
d[t[0]].append(value)
|
||||
|
Loading…
Reference in New Issue
Block a user