[docs] [issue32722] Classes
Soothsayer
report at bugs.python.org
Tue Jan 30 00:41:01 EST 2018
New submission from Soothsayer <qd57h9m4q2 at 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, it's a set comprehension.
sine_table = {x: sin(x*pi/180) for x in range(0, 91)}
Perhaps this used to be a call to set() and was mistakenly converted?
----------
assignee: docs at python
components: Documentation
messages: 311235
nosy: Soothsayer, docs at python
priority: normal
severity: normal
status: open
title: Classes
type: enhancement
versions: Python 3.7, Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32722>
_______________________________________
More information about the docs
mailing list