Skip to content

Instantly share code, notes, and snippets.

@syadlowsky
Created September 19, 2017 22:59
Show Gist options
  • Save syadlowsky/37e4b3966b553819ced3a276095f147a to your computer and use it in GitHub Desktop.
Save syadlowsky/37e4b3966b553819ced3a276095f147a to your computer and use it in GitHub Desktop.
class foo:
def __init__(self, a={}):
self.a = a
one = foo()
two = foo()
two.a["a"] = 2
print one.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment