Using metaclasses to play with decorators.
michele.simionato at poste.it
Fri Jun 18 08:25:36 CEST 2004
j_mckitrick at bigfoot.com (j_mckitrick) wrote in message news:<ec6dce8b.0406171642.7d523dc5 at posting.google.com>...
> You guys are WAY over my head, and I'm supposed to be a C.S. junior! :-\
> Could someone give me an idea of what metaclasses and decorators _are_?
> I think metaclasses are classes with their base methods overridden, correct?
> And decorators are a form of delegation, right?
> If so, where am I wrong? And how do these techniques make for better code/coding?
for decorators, look at PEP318.
More information about the Python-list