Skip to content

Instantly share code, notes, and snippets.

@Jules-Baratoux
Last active January 4, 2016 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jules-Baratoux/854eab65309bb4c4e7bb to your computer and use it in GitHub Desktop.
Save Jules-Baratoux/854eab65309bb4c4e7bb to your computer and use it in GitHub Desktop.
import pkg
assert pkg.foo == 1
foo = 1
import mod
assert mod.bar == 2
__all__ = ['foo']
import pkg
bar = 2
assert pkg.foo == 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment