A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/039045.html below:

[Python-Dev] accumulator display syntax

[Python-Dev] accumulator display syntax [Python-Dev] accumulator display syntax"Martin v. Löwis" martin at v.loewis.de
Mon Oct 20 01:52:33 EDT 2003
Greg Ewing wrote:

> How about just leaving off the brackets?
> 
>   gen = yield x*x for x in stuff

I think this has a dangling else problem:

gen = yield x*x for x in yield y+y for y in stuff if x > y

In this expression, how would you put parentheses, and why?

Regards,
Martin



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4