Skip to content

Instantly share code, notes, and snippets.

@jorgenschaefer
Created January 21, 2013 14:37
Show Gist options
  • Select an option

  • Save jorgenschaefer/4586509 to your computer and use it in GitHub Desktop.

Select an option

Save jorgenschaefer/4586509 to your computer and use it in GitHub Desktop.
>>> import dis
>>> def add(a, b):
... return a + b
...
>>> dis.dis(add)
2 0 LOAD_FAST 0 (a)
3 LOAD_FAST 1 (b)
6 BINARY_ADD
7 RETURN_VALUE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment