title: Get subclass name?
body: <p>Is it possible to get the name of a subclass?  For example:</p>
  
  <pre><code>class Foo:
      def bar(self):
          print type(self)
  
  class SubFoo(Foo):
      pass
  
  SubFoo().bar()
  </code></pre>
  
  <p>will print: <code>&lt; type 'instance' &gt;</code></p>
  
  <p>I'm looking for a way to get <code>"SubFoo"</code>.</p>
  
  <p>I know you can do <code>isinstance</code>, but I don't know the name of the class a priori, so that doesn't work for me.</p>