title: How to use an object as itself in a class
body: <p>A simple example is like this:</p>
  
  <pre><code>class abs_obj:
      def __init__(self, acceptType = abs_obj):
          # do something
          pass
  </code></pre>
  
  <p>which gives the error message: </p>
  
  <pre><code>NameError: name 'abs_obj' is not defined
  </code></pre>
  
  <p>Any suggestions? </p>