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

[Python-Dev] Similar syntax

[Python-Dev] Similar syntax [Python-Dev] Similar syntaxGustavo Niemeyer niemeyer at conectiva.com
Fri Aug 6 04:37:34 CEST 2004
> 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.

Gotcha! Thanks for pointing me this.

-- 
Gustavo Niemeyer
http://niemeyer.net
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