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/2001-March/013795.html below:

[Python-Dev] Re: Generator syntax

[Python-Dev] Re: Generator syntax [Python-Dev] Re: Generator syntaxKa-Ping Yee ping@lfw.org
Tue, 20 Mar 2001 22:14:57 -0800 (PST)
Greg Ewing <greg@cosc.canterbury.ac.nz> wrote:
> stuff, I think it would read better if the suspending
> statement were
> 
>    yield x
> 
> rather than
> 
>    suspend x

Fred Drake wrote:
>   I agree; this really improves readability.

Indeed, shortly after i wrote my generator examples, i wished i'd
written "generate x" rather than "suspend x".  "yield x" is good too.


-- ?!ng

Happiness comes more from loving than being loved; and often when our
affection seems wounded it is only our vanity bleeding. To love, and
to be hurt often, and to love again--this is the brave and happy life.
    -- J. E. Buchrose 




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