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

[Python-Dev] Class decorators

[Python-Dev] Class decorators [Python-Dev] Class decoratorsGreg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 30 00:42:57 CEST 2006
Fred L. Drake, Jr. wrote:

>     class Foo:
>         """Documentation is good."""
> 
>         @class implements(IFoo)

That's an interesting idea. It could be applied to
functions, too:

   def myfunc(myargs):
     """Documentation is hoopy"
     @def biguglydecorator(longconvolutedarglist)

Someone is going to object that the evaluation
time and environment of the decorator is screwy.
But I don't care. :-)

Greg
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