>>> class Foo: ... a = Foo ... Traceback (most recent call last): File "", line 1, in ? File "", line 2, in Foo NameError: name 'Foo' is not defined