decorator J4 - any objections?
martindemello at yahoo.com
Fri Aug 20 22:02:11 CEST 2004
Paul Rubin <http://firstname.lastname@example.org> wrote:
> Also, why the need for the "as" keyword? What happens if it's just
> eliminated? I.e.:
> def func(arg1, arg2)
> @version("Added in 2.4")
> """Docstring could be here, or in decorator part above"""
> # body goes here
It's really nice to have an outdented marker for when the actual
function body begins.
More information about the Python-list