Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf06ee3 commit db75c21Copy full SHA for db75c21
1 file changed
c-api/arg.po
@@ -979,6 +979,12 @@ msgid ""
979
"returns true on success and false if *args* is not a tuple or contains the "
980
"wrong number of elements; an exception will be set if there was a failure."
981
msgstr ""
982
+"一个更简单的参数提取方式,它不使用格式字符串来指定参数类型。 使用这种方法来提取参数的函数应当在函数或方法表中被声明为 "
983
+":const:`METH_VARARGS`。 包含实际参数的元组应当作为 *args* 传入;它必须确实是一个元组。 元组的长度必须至少为 *min* "
984
+"并且不超过 *max*;*min* 和 *max* 可能相等。 额外的参数必须被传入函数,每个参数必须是一个指向 :c:type:`PyObject*`"
985
+" 变量的指针;它们将以来自 *args* 的值填充;它们将包含暂借的引用。 对应于可选参数的变量不会由 *args* "
986
+"给出的值填充;它们将由调用者来初始化。 此函数执行成功时返回真值,如果 *args* "
987
+"不是元组或者包含错误数量的元素则返回假值;如果执行失败则将设置一个异常。"
988
989
#: ../../c-api/arg.rst:493
990
msgid ""
0 commit comments