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.
Merged