Two variable dictionary comprehension

Deborah Swanson python at deborahswanson.net
Tue Apr 4 19:22:51 EDT 2017


Rob Gaddi wrote, on Tuesday, April 04, 2017 3:56 PM
> 
> On 04/04/2017 03:34 PM, Deborah Swanson wrote:
> > Terry Reedy wrote, on Tuesday, April 04, 2017 11:04 AM
> >>
> >> I am sure that this is because list comprehensions were once thr
only 
> >> comprehensions and that the index was not updated when the syntax
and 
> >> code was.  I opened issue 29981 "Update Index for set, dict, and 
> >> generator 'comprehensions'".
> >>
> >> --
> >> Terry Jan Reedy
> >
> > Thanks Terry. I does seem strange that there are so many types of 
> > comprehensions, yet under 'comprehensions' in the Index, you only
see 
> > 'list'. And there are no entries for the other types, by their
names.
> >
> > Deborah
> >
> 
> Does it seem... incomprehensible?
> 
> -- 
> Rob Gaddi, Highland Technology -- www.highlandtechnology.com 
> Email address domain is currently out of order.  See above to fix.

Ha ha! Indeed it does. Funny how 'comprehension' word forms so easily
fall into puns.

Deborah




More information about the Python-list mailing list