[issue32722] Mislabeling of a dict comprehension as a generator expression in the tutorial

2018-01-30 Thread Soothsayer
Soothsayer added the comment: I agree that 2.7 is incorrect also, 2.7 has dict comprehensions also so there's no reason to pass a generator expression to dict(). I add 3.4 and 3.8 because they also have the problem. -- versions: +Python 3.4, Pytho

[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 <https://bugs.python.org/is

[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 <https://bugs.python.org/issue32722> ___ ___ Python-bug

[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 compre