Skip to content

Instantly share code, notes, and snippets.

@rbpasker
Last active December 12, 2015 12:18
Show Gist options
  • Save rbpasker/4770593 to your computer and use it in GitHub Desktop.
Save rbpasker/4770593 to your computer and use it in GitHub Desktop.
foo = None
def bar(newfoo):
foo=newfoo
>>> import foobar
>>> foobar.bar("something new")
>>> print foobar.foo
None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment