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-January/032648.html below:

[Python-Dev] Property syntax (Re: [Python-Dev] Extended Function syntax)

[Python-Dev] Property syntax (Re: [Python-Dev] Extended Function syntax) [Python-Dev] Property syntax (Re: [Python-Dev] Extended Function syntax)Michael Hudson mwh@python.net
Fri, 31 Jan 2003 16:21:38 +0000
David Goodger <goodger@python.org> writes:

> This syntax could be used to remove a recent wart, making generators
> explicit:
>
>     def g as generator:
>         suite
>
> Of course, it would be a syntax error if the generator suite didn't
> contain a "yield" statement.

You have to talk faster than that to convince me this is a wart.

Cheers,
M.

-- 
  Finding a needle in a haystack is a lot easier if you burn down
  the haystack and scan the ashes with a metal detector.
      -- the Silicon Valley Tarot (another one nicked from David Rush)



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