M
Mike Patterson
In my Python class the other day, the professor was going over
decorators and he briefly mentioned that there had been this huge
debate about the syntax and using the @ sign to signify decorators.
I read about the alternative forms proposed here (http://
www.python.org/dev/peps/pep-0318/#syntax-alternatives).
Has anyone thought about just using dec to declare a decorator?
For example:
dec dec2
dec dec1
def func(arg1, arg2, ...):
pass
decorators and he briefly mentioned that there had been this huge
debate about the syntax and using the @ sign to signify decorators.
I read about the alternative forms proposed here (http://
www.python.org/dev/peps/pep-0318/#syntax-alternatives).
Has anyone thought about just using dec to declare a decorator?
For example:
dec dec2
dec dec1
def func(arg1, arg2, ...):
pass