what are the more pythonic ways to limit a dict to elements that have a value?
<p>given a dict of items</p>

<pre><code>sample = { 'a':1 , 'b':2 , 'c':3 , 'd':None , 'e':None }
</code></pre>

<p>i'd like to create a new dict that only has the items with a value.</p>

<p>this works..</p>

<pre><code>a = dict([ i for i in testing.iteritems() if i[1]])
</code></pre>

<p>but i'm wondering if there's something more pythonic/readable.</p>

<p>i was hoping i could do something like</p>

<pre><code>a = dict([ i for i in testing.____() if i.value() ])
</code></pre>

<p>but there's no standard iterator that works like that.</p>

<p>i'm just curious on this for readability purposes.</p>
