Hi all I like dict comprehensions, but I don't use them very often, so when I do I need to look up the format.
I always struggle to find the information in the Library Reference. The obvious location, Mapping Types, shows various constructors, but not the comprehension. https://docs.python.org/3/library/stdtypes.html#mapping-types-dict So I turn to Google. It shows a couple of StackOverflow questions, and then a link to the Data Structures section of the Tutorial, which explains it succinctly. https://docs.python.org/3/tutorial/datastructures.html#dictionaries I feel that the Library Reference should be updated to include dict comprehensions. Just checking here first before I raise a Documentation issue. Frank Millman -- https://mail.python.org/mailman/listinfo/python-list