bandicoot.helper.tools.
AutoVivification
¶Implementation of perl’s autovivification feature.
Under CC-BY-SA 3.0 from nosklo on stackoverflow: http://stackoverflow.com/questions/19189274/defaultdict-of-defaultdict-nested
Methods
clear () |
|
copy () |
|
fromkeys () |
If not specified, the value defaults to None. |
get () |
|
items () |
|
keys () |
|
move_to_end () |
Move an existing element to the end (or beginning if last==False). |
pop () |
value. If key is not found, d is returned if given, otherwise KeyError |
popitem (self, /[, last]) |
Remove and return a (key, value) pair from the dictionary. |
setdefault () |
|
update () |
|
values () |
insert |