Yongzhi Pan added the comment: Great they are backported to 2.7. Dictionary and set comprehensions are not documented in the tutorial of 2.7, though they are in the language reference. Is it OK to add these to the tutorial? I've uploaded a patch.
---------- nosy: +fossilet Added file: http://bugs.python.org/file27981/set_and_dict_comprehensions.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2333> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com