A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-August/046957.html below:

[Python-Dev] Re: @decorators, the PEP and the "options" out there?

[Python-Dev] Re: @decorators, the PEP and the "options" out there?Nicolas Fleury nidoizo at yahoo.com
Thu Aug 5 23:29:52 CEST 2004
IxokaI wrote:
> I added "with", although I havn't seen it. "using" would work too. I
> personally do not like punctuation syntax-- I'd really like to see
> something english, even with the hated addition of a keyword. I
> understand Guido's disapproval for "as" so wanted to think of an
> alternate.

Other crazy ideas (in case it inspires anyone):

accepts(int,int,def)
returns(float,def)
def bar(low,high):

for def accepts(int,int)
for def returns(float)
def bar(low,high):

equivalent to:
@accepts(int,int)
@returns(float)
def bar(low,high):

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