Skip to content

Instantly share code, notes, and snippets.

@tylerharper
Created July 20, 2010 17:14
Show Gist options
  • Save tylerharper/483236 to your computer and use it in GitHub Desktop.
Save tylerharper/483236 to your computer and use it in GitHub Desktop.
class A(object):
x = 1
def __init__(self):
print self.x
self.x = 2
print self.x
a = A()
b = B()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment