Adding inheritance to a class programmatically in python?
<p>Can I make a class inherit a class "in-program" in Python?</p>

<p>heres what i have so far:</p>

<pre><code>base = list(cls.__bases__)
base.insert(0, ClassToAdd )
base = tuple( base )
cls = type( cls.__name__, base, dict(cls.__dict__) )
</code></pre>
