Using metaclasses to play with decorators.

Michele Simionato michele.simionato at
Fri Jun 18 08:25:36 CEST 2004

j_mckitrick at (j_mckitrick) wrote in message news:<ec6dce8b.0406171642.7d523dc5 at>...
> 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?
> jonathon

for decorators, look at PEP318.

More information about the Python-list mailing list