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

2018-01-30 Thread Soothsayer
Soothsayer <qd57h9m...@snkmail.com> 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, Pyth

[issue32722] Classes

2018-01-29 Thread Soothsayer
Soothsayer <qd57h9m...@snkmail.com> 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 <rep...@bugs.python.or

[issue32722] Classes

2018-01-29 Thread Soothsayer
Change by Soothsayer <qd57h9m...@snkmail.com>: -- versions: +Python 3.5, Python 3.6 -Python 3.7, Python 3.8 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32722] Classes

2018-01-29 Thread Soothsayer
New submission from Soothsayer <qd57h9m...@snkmail.com>: 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,