python can we override a method by inheriting 2 class
<pre><code>class A(object):

    def print_some(self):
        print 'a'

class B(object):

    def print_some(self):
        print 'b'

class C(A, B):
    pass

c = C()
print c.print_some()
'a'
</code></pre>

<p>What i expect of the output is 'b'. The reason i want to do this is because i want to override some method, let's say <code>form_valid</code> from <code>CreateView</code> in django, simply by inheriting a class i write containing custom <code>form_valid</code>, or there are better approaches?</p>
