Here you can navigate through the continuous folding:
>>> dis.dis(lambda: (3,)[0]+(4,)[0]) 1 0 LOAD_CONST 5 (3) 3 LOAD_CONST 7 (4) 6 BINARY_ADD 7 RETURN_VALUE
Beware of additional constants:
>>> (lambda: (3,)[0]+(4,0)[0]).func_code.co_consts (None, 3, 0, 4, (3,), 3, (4, 0), 4)
source share