[Python-Dev] Similar syntax
"Martin v. Löwis"
martin at v.loewis.de
Fri Aug 6 01:13:16 CEST 2004
More information about the Python-Dev mailing list
Fri Aug 6 01:13:16 CEST 2004
- Previous message: [Python-Dev] Similar syntax
- Next message: [Python-Dev] Similar syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gustavo Niemeyer wrote: > After writing this list, I thought about something which is > close to the current implementation, but avoids @. If it was > already suggested, please forgive me. At least I wasn't able > to find it in the PEP/Wiki: > > <static> > def method(foo): > pass This is discussed in the PEP: The '<...>' alternative presents parsing problems because '<' and '>' already parse as un-paired. They present a further parsing ambiguity because a right angle bracket might be a greater than symbol instead of a closer for the decorators. Regards, Martin
- Previous message: [Python-Dev] Similar syntax
- Next message: [Python-Dev] Similar syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list