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

[Python-Dev] PEP 318, a different approach

[Python-Dev] PEP 318, a different approach [Python-Dev] PEP 318, a different approachGuido van Rossum guido at python.org
Fri Apr 16 20:31:07 EDT 2004
> I had a strange idea for decorator syntax.
> 
> def.classmethod func(cls,...):

This would violate the 'greppability' requirement.  It's too nice to
have the name always be the token immediately following 'def' to allow
anything in between the two.

Basically, the only two positions that are still in the race are
before the def, and between the argument list and the colon.

--Guido van Rossum (home page: http://www.python.org/~guido/)

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