dictionary comprehensions with Python 2.4/2.5

Iryna Feuerstein Iryna.Feuerstein at FernUni-Hagen.de
Tue Aug 7 03:41:30 EDT 2012


>
> Not back to 2.5, but they're not that important anyway.  Just use:
>     d = dict((k, v) for k,v in ... )
>

Thank you very much! It is the perfect solution for me.

Regards,
Iryna.



More information about the Python-list mailing list