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, 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@python components: Documentation messages: 311235 nosy: Soothsayer, docs@python priority: normal severity: normal status: open title: Classes type: enhancement versions: Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32722> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com