On Thu, Jul 10, 2008 at 1:38 PM, Chris Fuller
<[EMAIL PROTECTED]> wrote:

> You can also use new.classobj() to create arbitrary classes on-the-fly.  See
> the documentation for the  new module, and google "python metaclasses"

FWIW new.classobj() will create an old-style class. You can create a
new-style class by calling type(        name, bases, dict) directly.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to