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-June/015485.html below:

[Python-Dev] Suggested amendment to PEP 255

[Python-Dev] Suggested amendment to PEP 255 [Python-Dev] Suggested amendment to PEP 255Armin Rigo arigo@ulb.ac.be
Wed, 20 Jun 2001 16:30:49 +0200 (MET DST)
Hi,

On Wed, 20 Jun 2001, Greg Ewing wrote:
> I suggest dropping the "def" altogether and using:
> 
>   generator foo(args):
>     ...
>     yield x
>     ...

Nice idea. We might even think about dropping the 'yield' keyword
altogether and using 'return' instead (althought I'm not quite sure it is
a good idea; I'm just suggesting it with a personal -0.5). 


A bientot,

Armin.




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