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

[Python-Dev] method decorators (PEP 318)

[Python-Dev] method decorators (PEP 318) [Python-Dev] method decorators (PEP 318)Guido van Rossum guido at python.org
Fri Mar 26 14:08:15 EST 2004
> If it's only classmethod you're worried about obscuring, why not:
> 
> def foobar(class cls, otherarg, ...):
>      # ...

Not quite -- I'm worried about things *like* classmethod and
staticmethod, and I want to provide you with the ability to write your
own.

> And then move all other decorators into some kind of delimited block
> in the function body, just before the docstring.

Aha!  So you agree with that part.  I rest my case.

--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