On Mon, Jan 16, 2012 at 10:10 AM, deathweaselx86 <[email protected]> wrote: > If I decorate a class, then subclass it, does my subclass feature > whatever the decorator did to my superclass?
Yes. The following two things are completely equivalent:
@foo
class Bar(...):
...
# and
class Bar(...)
...
# immediately afterward
Bar = foo(Bar)
-- Devin
--
http://mail.python.org/mailman/listinfo/python-list
