Child function with additional conditions
<p>Say I have the following:</p>

<pre><code>class Parent(object):
    [...]
    def func(self, list):
        for item in list:
            if condition1:
                do something

class Child(Parent):
    [...]
    def func(self, list):
        for item in list:
            if condition1 and condition2:
                do something
</code></pre>

<p>What would be an elegant way to add <strong>condition2</strong> to <em>func</em> without having to recopy the entire function? Note that I actually have two additional conditions in nested 'ifs'.</p>
