Two variable dictionary comprehension
rgaddi at highlandtechnology.invalid
Tue Apr 4 18:56:14 EDT 2017
On 04/04/2017 03:34 PM, Deborah Swanson wrote:
> Terry Reedy wrote, on Tuesday, April 04, 2017 11:04 AM
>> On 4/3/2017 2:35 AM, Gregory Ewing wrote:
>>> Deborah Swanson wrote:
>>>> Oh, come on. That's a fairly obscure citation in the docs,
>> one that
>>>> would take a good deal of experience and time reading
>> through them to
>>>> know was there,
>>> Having said that, the index of the Python docs could be
>> improved a bit
>>> in this area -- currently it only mentions "list" under
>>> "comprehension" (although the page it leads to discusses the other
>>> types as well).
>> 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.
Does it seem... incomprehensible?
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order. See above to fix.
More information about the Python-list