t = TreeDict.fromdict({'a':1,'b':2})
t.get("c", [])
Gives:
File "", line 1, in
File "treedict.pyx", line 2293, in treedict.treedict.TreeDict.get (treedict/treedict.c:17819)
File "treedict.pyx", line 2322, in treedict.treedict.TreeDict.get (treedict/treedict.c:17711)
In the same time:
t = TreeDict()
t.update({'a':1,'b':2})
t.get("c", [])
works fine :) as it should be.
It seems, I found some small bug...
Gives: File "", line 1, in
File "treedict.pyx", line 2293, in treedict.treedict.TreeDict.get (treedict/treedict.c:17819)
File "treedict.pyx", line 2322, in treedict.treedict.TreeDict.get (treedict/treedict.c:17711)
In the same time: t = TreeDict() t.update({'a':1,'b':2}) t.get("c", []) works fine :) as it should be.