Can I use decorators to manipulate return type or create methods?

Diez B. Roggisch deets at nospam.web.de
Thu Oct 19 20:13:58 EDT 2006


WakeBdr schrieb:
> Diez,
>      What does the function._marked accomplish?

Its a decorator that tells the metaclass which functions to provide with 
a *XML/*FOO variant as well. I thought that was pretty obvious, given 
the name "mark" and all that.

Diez



More information about the Python-list mailing list