We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38bfa04 commit 02a4afdCopy full SHA for 02a4afd
1 file changed
pytype/rewrite/frame.py
@@ -430,6 +430,13 @@ def byte_CALL_FUNCTION(self, opcode):
430
func_var = self._stack.pop()
431
self._call_function(func_var, abstract.Args(posargs=args))
432
433
+ def byte_CALL_METHOD(self, opcode):
434
+ args = self._stack.popn(opcode.arg)
435
+ func_var = self._stack.pop()
436
+ # pop the NULL off the stack (see LOAD_METHOD)
437
+ self._stack.pop_and_discard()
438
+ self._call_function(func_var, abstract.Args(posargs=args))
439
+
440
def byte_POP_TOP(self, opcode):
441
del opcode # unused
442
self._stack.pop_and_discard()
0 commit comments