Author terry.reedy
Recipients docs@python, terry.reedy
Date 2017-04-04.18:01:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491328871.52.0.864348862414.issue29981@psf.upfronthosting.co.za>
In-reply-to
Content
The index currently has

comprehensions
   *list*

with *list* linked to 6.2.5 List displays.  I suggest:

1. Link *comprehensions* to 6.2.4. Displays for lists, sets and dictionaries
2. Add subentries *set*, *dict*, and *generator* linked to
2a. 6.2.6. Set displays
2b. 6.2.7. Dictionary displays
2c. 6.2.8. Generator expressions

We don't *call* generator expressions 'generator comprehensions', but that is what they are syntactically and one looking for 'comprehensions' should be able to find them there.

There is already

*list*
   ...
   *comprehensions*
   ...
*list comprehensions*

with 'list' and 'list comprehensions' linked to glossary entries, while 'list, comprehensions' links to the same section as 'comprehensions, list'.  

3. Add 'set/dictionary, comprehensions' sub-entries linked like 'list, com
4. Add Glossary entries and links like 'list comprehensions'
History
Date User Action Args
2017-04-04 18:01:11terry.reedysetrecipients: + terry.reedy, docs@python
2017-04-04 18:01:11terry.reedysetmessageid: <1491328871.52.0.864348862414.issue29981@psf.upfronthosting.co.za>
2017-04-04 18:01:11terry.reedylinkissue29981 messages
2017-04-04 18:01:11terry.reedycreate