"Frank Millman" <fr...@chagford.com> writes: > If you did not know about dict comprehensions, there is nothing to tell you > that they even exist. I feel that it should be mentioned.
Yeah, the library reference should treat list and dict comprehensions the same way. I would have thought neither of them belongs in the library reference, but if listcomps are there then dictcomps should also be there. Probably a case of the manual not being updated when dictcomps were added. -- https://mail.python.org/mailman/listinfo/python-list