title: Override method of class in another file
body: <p>Say I have two files, <strong>file1.py</strong> and <strong>file2.py</strong>. In <strong>file1.py</strong>, I define two classes, one inherits from the other:</p>
  
  <p><strong>file1.py:</strong></p>
  
  <pre><code>class Class1:
      def __init__(self):
          pass
  
      def func1(self):
          return "Hello world!"
  
  class Class2(Class1):
      def __init__(self):
          pass
  
      def func2(self):
          return self.func1()
  </code></pre>
  
  <p>So now I'm able to call <code>func1()</code> and <code>func2()</code> from <code>Class2</code>.</p>
  
  <p><strong>file2.py:</strong></p>
  
  <pre><code>import file1
  
  class Class3(file1.Class2):
      def __init__(self):
          pass
  </code></pre>
  
  <p><strong>Question:</strong> How can I change <code>func1()</code> from <code>Class1</code> in <strong>file2.py</strong>, so that <code>func2()</code> in <code>Class2</code> returns the same as <code>func1()</code>?</p>
  
  <p>So not like this:</p>
  
  <pre><code>class Class3(file1.Class2):
      ...
      def func1(self):
          return "Another string"
  </code></pre>