Python 2.7 syntax error
<p>I'm new in Python. Does anyone know why there is syntax error as below? </p>

<pre><code>self.update( { (u,v) : t for (u,v),t in old_items if u in new_vert and v in new_vert } )
                           ^
SyntaxError: invalid syntax
</code></pre>

<p>Thank you. :)</p>
