Python: Self is not defined
<pre><code>class a(object):
 def __init__(self):
         self.b = 1
         self.c = 2
</code></pre>

<p>This gives the error: NameError: name 'self' is not defined</p>

<p>I looked at a previous post, but the error was for a different reason. Any help with this?</p>
