Try this:

class Base(object):
    pass

class C(Base):
    pass

class NewBase(object):
    pass

C.__bases__ = (NewBase,)

help(C)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to