[3.5] bpo-33216: Correct the doc of CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW. by mvaled · Pull Request #6365 · python/cpython
The order of the elements in the stack was incorrect. It seems that, in general (for all CALL_FUNCTION opcodes), the correct order is (from bottom to top): function positional arguments [star arg tuple] keyword arguments [keyword dictionary] CALL_FUNCTION[_..] Fixes [bug 33216](https://bugs.python.org/issue33216).
serhiy-storchaka
changed the title
bpo-33216: Correct the doc of CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW.
[3.5] bpo-33216: Correct the doc of CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW.
Use 'var-keyword' and 'var-positional' to better specify the items in the stack. Describe each opcode by stating the difference with CALL_FUNCTION.
This file contains hidden or 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