title: How to hide/remove some methods in inherited class in Python?
body: <p>I <strong>want to hide some public methods</strong> during inheritance <code>class B</code> from <code>class A</code>:</p>
  
  <pre><code>class A(object):
    def someMethodToHide():
      pass
  
    def someMethodToShow():
      pass
  
  class B(A):
    pass
  
  len(set(dir(A)) - set(dir(B))) == 1
  </code></pre>
  
  <p><strong>How to do it in python if it possible?</strong></p>