I would like to combine OrderedDict() and defaultdict() from collections in one object, which shall be an ordered, default dict.
Is this possible?
I would like to combine OrderedDict() and defaultdict() from collections in one object, which
Share
The following (using a modified version of this recipe) works for me: