bearophileh...@lycos.com wrote:
>
>In Python 3 those lines become shorter:
>
>for k, v in a.items():
>{k: v+1 for k, v in a.items()}

That's a syntax I have not seen in the 2-to-3 difference docs, so I'm not
familiar with it.  How does that cause "a" to be updated?
-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to