From 5652b9d98e7d8f95aaf2a3acba938e8d228f2d0e Mon Sep 17 00:00:00 2001 From: BLUELOVETH Date: Wed, 30 Oct 2024 20:09:12 +0800 Subject: [PATCH] ... --- include/pocketpy/pocketpy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/pocketpy.h b/include/pocketpy/pocketpy.h index 02e65a43..6e6c255d 100644 --- a/include/pocketpy/pocketpy.h +++ b/include/pocketpy/pocketpy.h @@ -464,7 +464,7 @@ PK_API bool py_pushmethod(py_Name name); /// `argc` is the number of positional arguments excluding `self`. /// `kwargc` is the number of keyword arguments, i.e. the number of key-value pairs. /// The result will be set to `py_retval()`. -/// The stack size will be reduced by `argc + kwargc`. +/// The stack size will be reduced by `2 + argc + kwargc * 2`. PK_API bool py_vectorcall(uint16_t argc, uint16_t kwargc) PY_RAISE PY_RETURN; /// Evaluate an expression and push the result to the stack. /// This function is used for testing.