@@ -65,7 +65,7 @@ msgstr ""
6565msgid ""
6666"To call an object, use :c:func:`PyObject_Call` or other :ref:`call API "
6767"<capi-call>`."
68- msgstr ""
68+ msgstr "使用 :c:func:`PyObject_Call` 或其他 :ref:`调用 API <capi-call>` 来调用一个对象。 "
6969
7070#: ../../c-api/call.rst:36
7171msgid "The Vectorcall Protocol"
@@ -75,7 +75,7 @@ msgstr "Vectorcall 协议"
7575msgid ""
7676"The vectorcall protocol was introduced in :pep:`590` as an additional "
7777"protocol for making calls more efficient."
78- msgstr ""
78+ msgstr "vectorcall 协议是在 :pep:`590` 被引入的,它是使调用函数更加有效的附加协议。 "
7979
8080#: ../../c-api/call.rst:43
8181msgid ""
@@ -120,17 +120,17 @@ msgstr "*callable* 是指被调用的对象。"
120120#: ../../c-api/call.rst:75
121121msgid ""
122122"*args* is a C array consisting of the positional arguments followed by the"
123- msgstr ""
123+ msgstr "*args* 是一个C语言数组,由位置参数和后面的 "
124124
125125#: ../../c-api/call.rst:75
126126msgid ""
127127"values of the keyword arguments. This can be *NULL* if there are no "
128128"arguments."
129- msgstr ""
129+ msgstr "关键字参数的值。如果没有参数,这个值可以是 *NULL* 。 "
130130
131131#: ../../c-api/call.rst:79
132132msgid "*nargsf* is the number of positional arguments plus possibly the"
133- msgstr ""
133+ msgstr "*nargsf* 是位置参数的数量加上可能的 "
134134
135135#: ../../c-api/call.rst:78
136136msgid ""
@@ -140,7 +140,7 @@ msgstr ""
140140
141141#: ../../c-api/call.rst:85
142142msgid "*kwnames* is a tuple containing the names of the keyword arguments;"
143- msgstr ""
143+ msgstr "*kwnames* 是一包含所有关键字名称的元组。 "
144144
145145#: ../../c-api/call.rst:82
146146msgid ""
@@ -161,7 +161,7 @@ msgstr ""
161161msgid ""
162162"For :c:func:`PyObject_VectorcallMethod`, this flag means instead that "
163163"``args[0]`` may be changed."
164- msgstr ""
164+ msgstr "对于 :c:func:`PyObject_VectorcallMethod` ,这个标志的改变意味着``args[0]`` 可能改变了。 "
165165
166166#: ../../c-api/call.rst:97
167167msgid ""
@@ -200,6 +200,8 @@ msgid ""
200200"<recursion>`: CPython uses :c:func:`Py_EnterRecursiveCall` and "
201201":c:func:`Py_LeaveRecursiveCall` for calls made using *tp_call*."
202202msgstr ""
203+ "在使用 *tp_call* 时,被调用者不必担心 :ref:`递归 <recursion>`: CPython 对于使用 *tp_call* "
204+ "进行的调用会使用 :c:func:`Py_EnterRecursiveCall` 和 :c:func:`Py_LeaveRecursiveCall`。"
203205
204206#: ../../c-api/call.rst:128
205207msgid ""
@@ -210,7 +212,7 @@ msgstr ""
210212
211213#: ../../c-api/call.rst:134
212214msgid "Vectorcall Support API"
213- msgstr ""
215+ msgstr "Vectorcall 支持 API "
214216
215217#: ../../c-api/call.rst:138
216218msgid ""
@@ -222,13 +224,13 @@ msgstr ""
222224msgid ""
223225"However, the function ``PyVectorcall_NARGS`` should be used to allow for "
224226"future extensions."
225- msgstr ""
227+ msgstr "然而,应使用 ``PyVectorcall_NARGS`` 函数以便将来扩展。 "
226228
227229#: ../../c-api/call.rst:147 ../../c-api/call.rst:161 ../../c-api/call.rst:175
228230#: ../../c-api/call.rst:259 ../../c-api/call.rst:346 ../../c-api/call.rst:360
229231#: ../../c-api/call.rst:375 ../../c-api/call.rst:391 ../../c-api/call.rst:413
230232msgid "This function is not part of the :ref:`limited API <stable>`."
231- msgstr ""
233+ msgstr "这个函数不是 :ref:`limited API <stable>` 的一部分。 "
232234
233235#: ../../c-api/call.rst:153
234236msgid ""
@@ -274,7 +276,7 @@ msgstr ""
274276msgid ""
275277"The following table summarizes the available functions; please see "
276278"individual documentation for details."
277- msgstr ""
279+ msgstr "下表总结了可用的功能; 请参阅各个文档以了解详细信息。 "
278280
279281#: ../../c-api/call.rst:195
280282msgid "Function"
@@ -294,36 +296,36 @@ msgstr "kwargs"
294296
295297#: ../../c-api/call.rst:197
296298msgid ":c:func:`PyObject_Call`"
297- msgstr ""
299+ msgstr ":c:func:`PyObject_Call` "
298300
299301#: ../../c-api/call.rst:197 ../../c-api/call.rst:199 ../../c-api/call.rst:201
300302#: ../../c-api/call.rst:203 ../../c-api/call.rst:205 ../../c-api/call.rst:209
301303#: ../../c-api/call.rst:217 ../../c-api/call.rst:219
302304msgid "``PyObject *``"
303- msgstr ""
305+ msgstr "``PyObject *`` "
304306
305307#: ../../c-api/call.rst:197
306308msgid "tuple"
307309msgstr "元组"
308310
309311#: ../../c-api/call.rst:197 ../../c-api/call.rst:219
310312msgid "dict/``NULL``"
311- msgstr ""
313+ msgstr "dict/``NULL`` "
312314
313315#: ../../c-api/call.rst:199
314316msgid ":c:func:`PyObject_CallNoArgs`"
315- msgstr ""
317+ msgstr ":c:func:`PyObject_CallNoArgs` "
316318
317319#: ../../c-api/call.rst:199 ../../c-api/call.rst:199 ../../c-api/call.rst:201
318320#: ../../c-api/call.rst:203 ../../c-api/call.rst:205 ../../c-api/call.rst:207
319321#: ../../c-api/call.rst:209 ../../c-api/call.rst:211 ../../c-api/call.rst:213
320322#: ../../c-api/call.rst:213 ../../c-api/call.rst:215
321323msgid "---"
322- msgstr ""
324+ msgstr "--- "
323325
324326#: ../../c-api/call.rst:201
325327msgid ":c:func:`PyObject_CallOneArg`"
326- msgstr ""
328+ msgstr ":c:func:`PyObject_CallOneArg` "
327329
328330#: ../../c-api/call.rst:201 ../../c-api/call.rst:215
329331msgid "1 object"
@@ -384,7 +386,7 @@ msgstr ":c:func:`PyObject_Vectorcall`"
384386#: ../../c-api/call.rst:217 ../../c-api/call.rst:217 ../../c-api/call.rst:219
385387#: ../../c-api/call.rst:221 ../../c-api/call.rst:221
386388msgid "vectorcall"
387- msgstr ""
389+ msgstr "vectorcall "
388390
389391#: ../../c-api/call.rst:219
390392msgid ":c:func:`PyObject_VectorcallDict`"
@@ -423,7 +425,7 @@ msgstr "成功时返回结果,在失败时抛出一个异常并返回 *NULL*
423425msgid ""
424426"This is the equivalent of the Python expression: ``callable(*args, "
425427"**kwargs)``."
426- msgstr ""
428+ msgstr "这等价于 Python 表达式 ``callable(*args, **kwargs)``。 "
427429
428430#: ../../c-api/call.rst:242
429431msgid ""
@@ -463,7 +465,7 @@ msgstr ""
463465
464466#: ../../c-api/call.rst:289
465467msgid "The type of *format* was changed from ``char *``."
466- msgstr ""
468+ msgstr "这个 *format* 类型已从 ``char *`` 更改。 "
467469
468470#: ../../c-api/call.rst:295
469471msgid ""
@@ -474,13 +476,13 @@ msgstr ""
474476
475477#: ../../c-api/call.rst:299
476478msgid "The format can be *NULL*, indicating that no arguments are provided."
477- msgstr ""
479+ msgstr "格式可以为 *NULL* ,表示未提供任何参数。 "
478480
479481#: ../../c-api/call.rst:304
480482msgid ""
481483"This is the equivalent of the Python expression: ``obj.name(arg1, arg2, "
482484"...)``."
483- msgstr ""
485+ msgstr "这和Python表达式``obj.name(arg1, arg2, ...)``是一样的。 "
484486
485487#: ../../c-api/call.rst:307
486488msgid ""
@@ -490,7 +492,7 @@ msgstr ""
490492
491493#: ../../c-api/call.rst:310
492494msgid "The types of *name* and *format* were changed from ``char *``."
493- msgstr ""
495+ msgstr " *name* 和 *format* 类型已从 ``char *`` 更改。 "
494496
495497#: ../../c-api/call.rst:316
496498msgid ""
@@ -575,4 +577,4 @@ msgstr "调用支持 API"
575577msgid ""
576578"Determine if the object *o* is callable. Return ``1`` if the object is "
577579"callable and ``0`` otherwise. This function always succeeds."
578- msgstr ""
580+ msgstr "确定对象 *o* 是可调对象。如果对象是可调对象则返回 ``1`` ,其他情况返回 ``0`` 。这个函数不会调用失败。 "
0 commit comments