title: In Python, how can I prohibit class inheritance?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2825364/final-classes-in-python-3-x-something-guido-isnt-telling-me">Final classes in Python 3.x- something Guido isn&#39;t telling me?</a>  </p>
  </blockquote>
  
  
  
  <p>I was watching a talk (<a href="http://www.youtube.com/watch?v=aAb7hSCtvGw" rel="noreferrer">How to design a good API and why it matters</a>) in which it was said, literally, "<em>design and document for inheritance, else prohibit it</em>". The talk was using Java as an example, where there's the '<strong>final</strong>' keyword for prohibiting subclassing. Is it possible to prohibit subclassing in Python? If yes, it'd be great to see an example...
  Thanks.</p>