.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user