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

[Python-Dev] Class decorators

[Python-Dev] Class decorators [Python-Dev] Class decoratorsJim Jewett jimjjewett at gmail.com
Fri Mar 31 03:21:13 CEST 2006
Phillip J. Eby wrote:

> I don't even recall seeing any examples of class decorators
> being used without arguments!

I have often started with a function, and ended up replacing it with a
callable object so that I could save state without resorting to
"defalt args" or worse.

I would prefer to decorate these exactly like the functions they replace.

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