This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wtaha
Recipients docs@python, shubh07, veky, wtaha
Date 2020-08-20.18:27:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597948063.6.0.779974889701.issue41591@roundup.psfhosted.org>
In-reply-to
Content
That makes perfect sense now, and I see what threw me off. Basically, there were not enough cues for me to see that there was an extra pair of square brackets in the example that had nested listcomps, and as a result, I assumed that a nested listcomp simply meant one with multiple for clauses in it (which you clarified is not considered a nested listcomp).

If I may make a suggestion, the phrase "the nested listcomp is evaluated" would not have confused me if it simply said "the main part of the outer listcomp is evaluated". This can help in two ways. First, it avoids the possible confusion that the discussion in the previous section was about nested listcomp (which you rightly point out it is not). Second, adding the word "outer" gives an additional cue that we actually have two nested listcomps here.

Thank you very much for your quick response and help with this issue!
History
Date User Action Args
2020-08-20 18:27:43wtahasetrecipients: + wtaha, docs@python, veky, shubh07
2020-08-20 18:27:43wtahasetmessageid: <1597948063.6.0.779974889701.issue41591@roundup.psfhosted.org>
2020-08-20 18:27:43wtahalinkissue41591 messages
2020-08-20 18:27:43wtahacreate