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

[Python-Dev] Decorator syntax proposal

[Python-Dev] Decorator syntax proposal [Python-Dev] Decorator syntax proposalWiktor Sadowski art at wiktorsadowski.com
Fri Aug 6 02:52:19 CEST 2004
FWIW:

[def][decorateMethod1(param)]
[def][decorateMethod2(param)]
def method(self,param):
        pass

or all in one line

[def][decorateFunc1(param)][decorateFunc2(param)]
def func(param):
        pass


[class][decorateClass(param)]
class toBeDecorated:
    pass

import hooks

[import][modify(mod)]
import foo

Regards
Wiktor Sadowski
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