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

[Python-Dev] Re: PEP 318: Decorators last before colon

[Python-Dev] Re: PEP 318: Decorators last before colon [Python-Dev] Re: PEP 318: Decorators last before colonSamuele Pedroni pedronis at bluewin.ch
Wed Mar 31 08:10:47 EST 2004
At 21:52 30.03.2004 -0500, Terry Reedy wrote:

>[[decorator]]      # easy enough to type, or

this already just valid syntax today

><decorator>      # almost as easy, or
><<decorator>>
>
>Is there near precedent in other languages that I don't know of?

VB.NET uses <...> for .NET attributes instead of [...].

OTOH <...> is a usual syntax for parametrized types, e.g. C++ templates, 
Java,C# generics and others

It seems VB.NET will use a syntax with (...) for that. 


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