title: Python monkey patch a module that gets executed by another module
body: <p>My question is similar to this <a href="https://stackoverflow.com/questions/19545982/monkey-patching-a-class-in-another-module-in-python">question</a></p>
  
  <p>Except that it's not my module to execute <code>dosomething()</code> in <code>thirdpartymodule_b</code> so I need to  monkey patch <code>thirdpartymodule_a</code> and be effective when it's executed in <code>thirdpartymodule_b</code></p>