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/2004-August/047270.html below:

[Python-Dev] Re: Decorators: vertical bar syntax

[Python-Dev] Re: Decorators: vertical bar syntax [Python-Dev] Re: Decorators: vertical bar syntaxPaul Moore pf_moore at yahoo.co.uk
Sat Aug 7 16:27:10 CEST 2004
Mike Thompson <mike.spam.filter at day8.com.au> writes:

> Terry Reedy wrote:
>
>> Is a space allowed after the prefic character, whatever it might be?
>> With
>> def foo():
>>    | classmethod
>>    | accepts(int,int)
>>    | returns(float)
>>
>
>
> Thats it!  I love it.

Note that there is no implementation of this currently available
(whereas changing @ to | in the existing syntax is likely to be a
trivial change). Proponents of this variant (or any other without an
implementation available) will ultimately have to deliver code.

I've added notes to the Wiki as to which variants have
implementations, FWIW.

Paul
-- 
Instant gratification takes too long -- Carrie Fisher

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