![](/img/trans.png)
[英]In Python bytecode, why is there a POP_TOP instruction after the CALL_FUNCTION instruction if the function returns nothing?
我在研究Python字節碼,發現POP_TOP指令后面有CALL_FUNCTION指令。 POP_TOP在這里做什么? 運行python3 -m dis main.py后,我得到了 請參閱第 22行和第 42 行。 ...
[英]In Python bytecode, why is there a POP_TOP instruction after the CALL_FUNCTION instruction if the function returns nothing?
我在研究Python字節碼,發現POP_TOP指令后面有CALL_FUNCTION指令。 POP_TOP在這里做什么? 運行python3 -m dis main.py后,我得到了 請參閱第 22行和第 42 行。 ...