title: overwrite parent method partially in python
body: <p>I have a situation when I need to overwrite parent method but only in one line. My initial code is quite big so I clarify what I mean in an example.
  I have method from parent:</p>
  
  <pre><code>class parent():
      def method(self):
          bla
          bla
          print("Parent method is working")
          bla
          bla
  </code></pre>
  
  <p>And child:</p>
  
  <pre><code>class child(parent):
      def method(self):
          bla
          bla
          print("Child method working")
          bla
          bla
  </code></pre>
  
  <p>As you can see, two methods are pretty much the same but one line is different. Do I have to write the same code in child method just to print different output or there is dark magic in python how to overwrite only one line?</p>