Skip to content

Instantly share code, notes, and snippets.

@kevinherron
Created November 4, 2011 16:25
Show Gist options
  • Save kevinherron/1339756 to your computer and use it in GitHub Desktop.
Save kevinherron/1339756 to your computer and use it in GitHub Desktop.
def a():
print "a"
def b():
a()
b()
Traceback (most recent call last):
File "<script playground>", line 5, in b
NameError: global name 'a' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment