88msgstr ""
99"Project-Id-Version : Python 3.12\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2023-07-17 17:39+0800 \n "
11+ "POT-Creation-Date : 2023-07-22 00:04+0000 \n "
1212"PO-Revision-Date : 2022-10-16 03:20+0800\n "
1313"Last-Translator : Matt Wang <mattwag44@gmail.com>\n "
1414"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -111,11 +111,11 @@ msgstr ""
111111
112112#: ../../c-api/call.rst:62
113113msgid ""
114- "The :const :`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class "
114+ "The :c:macro :`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class "
115115"when the class's :py:meth:`~object.__call__` method is reassigned. (This "
116116"internally sets :c:member:`~PyTypeObject.tp_call` only, and thus may make it "
117117"behave differently than the vectorcall function.) In earlier Python "
118- "versions, vectorcall should only be used with :const :`immutable "
118+ "versions, vectorcall should only be used with :c:macro :`immutable "
119119"<Py_TPFLAGS_IMMUTABLETYPE>` or static types."
120120msgstr ""
121121
@@ -132,13 +132,13 @@ msgstr ""
132132
133133#: ../../c-api/call.rst:74
134134msgid ""
135- "Classes can implement the vectorcall protocol by enabling the :const :"
135+ "Classes can implement the vectorcall protocol by enabling the :c:macro :"
136136"`Py_TPFLAGS_HAVE_VECTORCALL` flag and setting :c:member:`~PyTypeObject."
137137"tp_vectorcall_offset` to the offset inside the object structure where a "
138138"*vectorcallfunc* appears. This is a pointer to a function with the following "
139139"signature:"
140140msgstr ""
141- "類別可以透過啟用 :const :`Py_TPFLAGS_HAVE_VECTORCALL` 旗標並將 :c:member:"
141+ "類別可以透過啟用 :c:macro :`Py_TPFLAGS_HAVE_VECTORCALL` 旗標並將 :c:member:"
142142"`~PyTypeObject.tp_vectorcall_offset` 設定為物件結構中有出現 *vectorcallfunc* "
143143"的 offset 來實作 vectorcall 協定。這是一個指向具有以下簽章之函式的指標:"
144144
@@ -163,10 +163,10 @@ msgstr "*nargsf* 是位置引數的數量加上可能會有的"
163163
164164#: ../../c-api/call.rst:87
165165msgid ""
166- ":const :`PY_VECTORCALL_ARGUMENTS_OFFSET` flag. To get the actual number of "
166+ ":c:macro :`PY_VECTORCALL_ARGUMENTS_OFFSET` flag. To get the actual number of "
167167"positional arguments from *nargsf*, use :c:func:`PyVectorcall_NARGS`."
168168msgstr ""
169- ":const :`PY_VECTORCALL_ARGUMENTS_OFFSET` 旗標。如果要從 *nargsf* 獲得實際的位"
169+ ":c:macro :`PY_VECTORCALL_ARGUMENTS_OFFSET` 旗標。如果要從 *nargsf* 獲得實際的位"
170170"置引數數量,請使用 :c:func:`PyVectorcall_NARGS`。"
171171
172172#: ../../c-api/call.rst:94
@@ -205,12 +205,12 @@ msgstr ""
205205#: ../../c-api/call.rst:106
206206msgid ""
207207"Whenever they can do so cheaply (without additional allocation), callers are "
208- "encouraged to use :const :`PY_VECTORCALL_ARGUMENTS_OFFSET`. Doing so will "
208+ "encouraged to use :c:macro :`PY_VECTORCALL_ARGUMENTS_OFFSET`. Doing so will "
209209"allow callables such as bound methods to make their onward calls (which "
210210"include a prepended *self* argument) very efficiently."
211211msgstr ""
212212"當可以以幾乎無代價的方式(無需佔據額外的記憶體)來達成,那麼會推薦呼叫者使"
213- "用 :const :`PY_VECTORCALL_ARGUMENTS_OFFSET`。這樣做會讓如 bound method(繫結方"
213+ "用 :c:macro :`PY_VECTORCALL_ARGUMENTS_OFFSET`。這樣做會讓如 bound method(繫結方"
214214"法)之類的可呼叫函式非常有效地繼續向前呼叫(這類函式包含一個在首位的 *self* "
215215"引數)。"
216216
@@ -315,11 +315,11 @@ msgstr ""
315315msgid ""
316316"This is a specialized function, intended to be put in the :c:member:"
317317"`~PyTypeObject.tp_call` slot or be used in an implementation of ``tp_call``. "
318- "It does not check the :const :`Py_TPFLAGS_HAVE_VECTORCALL` flag and it does "
318+ "It does not check the :c:macro :`Py_TPFLAGS_HAVE_VECTORCALL` flag and it does "
319319"not fall back to ``tp_call``."
320320msgstr ""
321321"這是一個專門函式,其目的是被放入 :c:member:`~PyTypeObject.tp_call` 擴充槽或是"
322- "用於 ``tp_call`` 的實作。它不會檢查 :const :`Py_TPFLAGS_HAVE_VECTORCALL` 旗標"
322+ "用於 ``tp_call`` 的實作。它不會檢查 :c:macro :`Py_TPFLAGS_HAVE_VECTORCALL` 旗標"
323323"並且它不會退回 (fall back) 使用 ``tp_call``。"
324324
325325#: ../../c-api/call.rst:186
@@ -654,24 +654,24 @@ msgid ""
654654"method is given as a Python string *name*. The object whose method is called "
655655"is *args[0]*, and the *args* array starting at *args[1]* represents the "
656656"arguments of the call. There must be at least one positional argument. "
657- "*nargsf* is the number of positional arguments including *args[0]*, plus :"
658- "const :`PY_VECTORCALL_ARGUMENTS_OFFSET` if the value of ``args[0]`` may "
657+ "*nargsf* is the number of positional arguments including *args[0]*, plus :c: "
658+ "macro :`PY_VECTORCALL_ARGUMENTS_OFFSET` if the value of ``args[0]`` may "
659659"temporarily be changed. Keyword arguments can be passed just like in :c:func:"
660660"`PyObject_Vectorcall`."
661661msgstr ""
662662"使用 vectorcall 呼叫慣例來呼叫一個 method。method 的名稱以 Python 字串 "
663663"*name* 的格式給定。被呼叫 method 的物件為 *args[0]*,而 *args* 陣列從 "
664664"*args[1]* 開始的部分則代表呼叫的引數。必須傳入至少一個位置引數。*nargsf* 為包"
665665"括 *args[0]* 在內的位置引數的數量,如果 ``args[0]`` 的值可能被臨時改變則要再"
666- "加上 :const :`PY_VECTORCALL_ARGUMENTS_OFFSET`。關鍵字引數可以像在 :c:func:"
666+ "加上 :c:macro :`PY_VECTORCALL_ARGUMENTS_OFFSET`。關鍵字引數可以像在 :c:func:"
667667"`PyObject_Vectorcall` 中一樣被傳入。"
668668
669669#: ../../c-api/call.rst:399
670670msgid ""
671- "If the object has the :const :`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
671+ "If the object has the :c:macro :`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
672672"will call the unbound method object with the full *args* vector as arguments."
673673msgstr ""
674- "如果物件具有 :const :`Py_TPFLAGS_METHOD_DESCRIPTOR` 特性,這將以完整的 *args* "
674+ "如果物件具有 :c:macro :`Py_TPFLAGS_METHOD_DESCRIPTOR` 特性,這將以完整的 *args* "
675675"向量作為引數來呼叫 unbound method(未繫結方法)物件。"
676676
677677#: ../../c-api/call.rst:410
0 commit comments