How to iter over a dict created by defaultdict?
<p>I am iterating a dict created using the following.</p>

<pre><code> tree = defaultdict(partial(defaultdict, partial(defaultdict, list)))
 for dt, hour, value in flat_list:
     tree[dt][hour]=[]
     tree[dt][hour].append(value)
</code></pre>

<p>My output looks like this:</p>

<pre><code> for k,v in tree.iteritems():
     2012-08-07 defaultdict(&lt;functools.partial object at 0x1e0a050&gt;, {'17': ['30']})
     2012-08-24 defaultdict(&lt;functools.partial object at 0x1e0a050&gt;, {'3': ['70']})
</code></pre>

<p>How do I get rid of this stuff?  How do I iter like a regular dict?:</p>

<pre><code>defaultdict(&lt;functools.partial object at 0x1e0a050&gt;
</code></pre>
