Skip to content

Instantly share code, notes, and snippets.

@zed
Created May 10, 2013 21:47
Show Gist options
  • Select an option

  • Save zed/5557682 to your computer and use it in GitHub Desktop.

Select an option

Save zed/5557682 to your computer and use it in GitHub Desktop.
show `__builtins__` type (module or `.__dict__`)
def f():
print(__name__)
print(type(__builtins__))
f()
if __name__=="__main__":
import show_builtins_type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment