[Python-Dev] Re: PEP 318: Decorators last before colon (original) (raw)
Samuele Pedroni pedronis at bluewin.ch
Wed Mar 31 08:10:47 EST 2004
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 21:52 30.03.2004 -0500, Terry Reedy wrote:
[[decorator]] # easy enough to type, or
this already just valid syntax today
# almost as easy, or <>
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.
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]