Skip to content

Instantly share code, notes, and snippets.

@j2labs
Created October 18, 2012 10:32
Show Gist options
  • Save j2labs/3910915 to your computer and use it in GitHub Desktop.
Save j2labs/3910915 to your computer and use it in GitHub Desktop.
>>> class Foo(object):
... x = 5
... y = Foo()
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 3, in Foo
NameError: name 'Foo' is not defined
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment