Last active
November 9, 2019 10:44
-
-
Save ishashankkumar/622d2c5a6039ec4c2a8f9049ed4de9f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dis | |
print dis.dis(test_one_line_expression) | |
2 0 LOAD_FAST 1 (b) | |
3 LOAD_CONST 1 (1) | |
6 BINARY_ADD | |
7 LOAD_FAST 0 (a) | |
10 LOAD_FAST 1 (b) | |
13 BINARY_ADD | |
14 ROT_TWO | |
15 STORE_FAST 0 (a) | |
18 STORE_FAST 1 (b) | |
3 21 LOAD_FAST 0 (a) | |
24 LOAD_FAST 1 (b) | |
27 BUILD_TUPLE 2 | |
30 RETURN_VALUE | |
None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment