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
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
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
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,