[issue32722] Classes

2018-01-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: This example is also in 2.7 https://docs.python.org/2.7/tutorial/classes.html#generator-expressions -> I add 2.7 -- nosy: +matrixise versions: +Python 2.7 ___ Python tracker _

[issue32722] Classes

2018-01-30 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +5278 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue32722] Classes

2018-01-29 Thread Soothsayer
Soothsayer added the comment: Correction: it's a dictionary comprehension, and it did indeed used to be a call to dict() in the 2.7 documentation. -- versions: +Python 3.7 ___ Python tracker

[issue32722] Classes

2018-01-29 Thread Soothsayer
Change by Soothsayer : -- versions: +Python 3.5, Python 3.6 -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list maili

[issue32722] Classes

2018-01-29 Thread Soothsayer
New submission from Soothsayer : In the Python tutorial, in "9. Classes", in "9.10 Generator expression", a list of sample generator expressions used as arguments to functions is given. However, one of the examples isn't a generator expression, it's a set comprehension. sine_table = {x: sin(x