Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6dd0a6b

Browse files
committed
fix: resolve fuzzy entries
1 parent66487c2 commit6dd0a6b

27 files changed

+217
-567
lines changed

‎c-api/call.po

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,14 @@ msgstr ""
131131
"典),那麼實作 vectorcall 就沒有意義。"
132132

133133
#:../../c-api/call.rst:74
134-
#,fuzzy
135134
msgid""
136135
"Classes can implement the vectorcall protocol by enabling the :c:macro:"
137136
"`Py_TPFLAGS_HAVE_VECTORCALL` flag and setting :c:member:`~PyTypeObject."
138137
"tp_vectorcall_offset` to the offset inside the object structure where a "
139138
"*vectorcallfunc* appears. This is a pointer to a function with the following "
140139
"signature:"
141140
msgstr""
142-
"類別可以透過啟用 :const:`Py_TPFLAGS_HAVE_VECTORCALL` 旗標並將 :c:member:"
141+
"類別可以透過啟用 :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` 旗標並將 :c:member:"
143142
"`~PyTypeObject.tp_vectorcall_offset` 設定為物件結構中有出現 *vectorcallfunc* "
144143
"的 offset 來實作 vectorcall 協定。這是一個指向具有以下簽章之函式的指標:"
145144

@@ -163,12 +162,11 @@ msgid "*nargsf* is the number of positional arguments plus possibly the"
163162
msgstr"*nargsf* 是位置引數的數量加上可能會有的"
164163

165164
#:../../c-api/call.rst:87
166-
#,fuzzy
167165
msgid""
168166
":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` flag. To get the actual number of "
169167
"positional arguments from *nargsf*, use :c:func:`PyVectorcall_NARGS`."
170168
msgstr""
171-
":const:`PY_VECTORCALL_ARGUMENTS_OFFSET` 旗標。如果要從 *nargsf* 獲得實際的位"
169+
":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` 旗標。如果要從 *nargsf* 獲得實際的位"
172170
"置引數數量,請使用 :c:func:`PyVectorcall_NARGS`。"
173171

174172
#:../../c-api/call.rst:94
@@ -205,15 +203,14 @@ msgstr ""
205203
"``args[0]`` 被改變。"
206204

207205
#:../../c-api/call.rst:106
208-
#,fuzzy
209206
msgid""
210207
"Whenever they can do so cheaply (without additional allocation), callers are "
211208
"encouraged to use :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`. Doing so will "
212209
"allow callables such as bound methods to make their onward calls (which "
213210
"include a prepended *self* argument) very efficiently."
214211
msgstr""
215212
"當可以以幾乎無代價的方式(無需佔據額外的記憶體)來達成,那麼會推薦呼叫者使"
216-
"用 :const:`PY_VECTORCALL_ARGUMENTS_OFFSET`。這樣做會讓如 bound method(繫結方"
213+
"用 :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`。這樣做會讓如 bound method(繫結方"
217214
"法)之類的可呼叫函式非常有效地繼續向前呼叫(這類函式包含一個在首位的 *self* "
218215
"引數)。"
219216

@@ -315,15 +312,14 @@ msgstr ""
315312
"tuple 和 dict 格式給定。"
316313

317314
#:../../c-api/call.rst:175
318-
#,fuzzy
319315
msgid""
320316
"This is a specialized function, intended to be put in the :c:member:"
321317
"`~PyTypeObject.tp_call` slot or be used in an implementation of ``tp_call``. "
322318
"It does not check the :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag and it does "
323319
"not fall back to ``tp_call``."
324320
msgstr""
325321
"這是一個專門函式,其目的是被放入 :c:member:`~PyTypeObject.tp_call` 擴充槽或是"
326-
"用於 ``tp_call`` 的實作。它不會檢查 :const:`Py_TPFLAGS_HAVE_VECTORCALL` 旗標"
322+
"用於 ``tp_call`` 的實作。它不會檢查 :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` 旗標"
327323
"並且它不會退回 (fall back) 使用 ``tp_call``。"
328324

329325
#:../../c-api/call.rst:186
@@ -653,7 +649,6 @@ msgstr ""
653649
"方已經擁有一個要作為關鍵字引數的字典、但沒有作為位置引數的 tuple 時才被使用。"
654650

655651
#:../../c-api/call.rst:390
656-
#,fuzzy
657652
msgid""
658653
"Call a method using the vectorcall calling convention. The name of the "
659654
"method is given as a Python string *name*. The object whose method is called "
@@ -668,16 +663,15 @@ msgstr ""
668663
"*name* 的格式給定。被呼叫 method 的物件為 *args[0]*,而 *args* 陣列從 "
669664
"*args[1]* 開始的部分則代表呼叫的引數。必須傳入至少一個位置引數。*nargsf* 為包"
670665
"括 *args[0]* 在內的位置引數的數量,如果 ``args[0]`` 的值可能被臨時改變則要再"
671-
"加上 :const:`PY_VECTORCALL_ARGUMENTS_OFFSET`。關鍵字引數可以像在 :c:func:"
666+
"加上 :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`。關鍵字引數可以像在 :c:func:"
672667
"`PyObject_Vectorcall` 中一樣被傳入。"
673668

674669
#:../../c-api/call.rst:399
675-
#,fuzzy
676670
msgid""
677671
"If the object has the :c:macro:`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
678672
"will call the unbound method object with the full *args* vector as arguments."
679673
msgstr""
680-
"如果物件具有 :const:`Py_TPFLAGS_METHOD_DESCRIPTOR` 特性,這將以完整的 *args* "
674+
"如果物件具有 :c:macro:`Py_TPFLAGS_METHOD_DESCRIPTOR` 特性,這將以完整的 *args* "
681675
"向量作為引數來呼叫 unbound method(未繫結方法)物件。"
682676

683677
#:../../c-api/call.rst:410

‎c-api/file.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,13 @@ msgstr ""
160160
"``setopencodehook``\\ 。"
161161

162162
#:../../c-api/file.rst:95
163-
#,fuzzy
164163
msgid""
165164
"Write object *obj* to file object *p*. The only supported flag for *flags* "
166165
"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
167166
"written instead of the :func:`repr`. Return ``0`` on success or ``-1`` on "
168167
"failure; the appropriate exception will be set."
169168
msgstr""
170-
"將物件 *obj* 寫入檔案物件 *p*。 *flags* 唯一支援的旗標是 :const:"
169+
"將物件 *obj* 寫入檔案物件 *p*。 *flags* 唯一支援的旗標是 :c:macro:"
171170
"`Py_PRINT_RAW`;如果有給定,則寫入物件的 :func:`str` 而不是 :func:`repr`。在"
172171
"成功回傳 ``0`` 或在失敗回傳 ``-1``;將設定適當的例外。"
173172

‎c-api/gcsupport.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ msgstr ""
4343

4444
#:../../c-api/gcsupport.rst:24
4545
msgid":c:macro:`Py_TPFLAGS_HAVE_GC`"
46-
msgstr""
46+
msgstr":c:macro:`Py_TPFLAGS_HAVE_GC`"
4747

4848
#:../../c-api/gcsupport.rst:22
4949
msgid""

‎c-api/method.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ msgid "Instance Method Objects"
2525
msgstr"實例方法物件 (Instance Method Objects)"
2626

2727
#:../../c-api/method.rst:10
28-
#,fuzzy
2928
msgid""
3029
"An instance method is a wrapper for a :c:type:`PyCFunction` and the new way "
3130
"to bind a :c:type:`PyCFunction` to a class object. It replaces the former "
3231
"call ``PyMethod_New(func, NULL, class)``."
3332
msgstr""
34-
"實例方法是 :c:data:`PyCFunction` 的包裝器 (wrapper),也是將 :c:data:"
33+
"實例方法是 :c:type:`PyCFunction` 的包裝器 (wrapper),也是將 :c:type:"
3534
"`PyCFunction` 繫結 (bind) 到類別物件的一種新方式。它替代了原先對 "
3635
"``PyMethod_New(func, NULL, class)`` 的呼叫。"
3736

‎c-api/refcounting.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ msgstr ""
162162
"`Py_XDECREF`。"
163163

164164
#:../../c-api/refcounting.rst:103
165-
#,fuzzy
166165
msgid""
167166
"The deallocation function can cause arbitrary Python code to be invoked (e."
168167
"g. when a class instance with a :meth:`~object.__del__` method is "
@@ -174,7 +173,7 @@ msgid ""
174173
"object in a temporary variable, update the list data structure, and then "
175174
"call :c:func:`Py_DECREF` for the temporary variable."
176175
msgstr""
177-
"釋放函式可以導致任意 Python 程式碼被調用(例如,當釋放具有 :meth:`__del__` 方"
176+
"釋放函式可以導致任意 Python 程式碼被調用(例如,當釋放具有 :meth:`~object.__del__` 方"
178177
"法的類別實例時)。雖然此類程式碼中的例外不會被傳遞出來,但​​執行的程式碼可以自"
179178
"由存取所有 Python 全域變數。這意味著在調用 :c:func:`Py_DECREF` 之前,可從全域"
180179
"變數存取的任何物件都應處於一致狀態。例如,從 list 中刪除物件的程式碼應將已刪"

‎c-api/stable.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,14 @@ msgstr ""
140140
"在包含 ``Python.h`` 之前定義此巨集以選擇只使用受限 API,並挑選受限 API 版本。"
141141

142142
#:../../c-api/stable.rst:77
143-
#,fuzzy
144143
msgid""
145144
"Define ``Py_LIMITED_API`` to the value of :c:macro:`PY_VERSION_HEX` "
146145
"corresponding to the lowest Python version your extension supports. The "
147146
"extension will work without recompilation with all Python 3 releases from "
148147
"the specified one onward, and can use Limited API introduced up to that "
149148
"version."
150149
msgstr""
151-
"將 ``Py_LIMITED_API`` 定義為對應於你的擴充有支援的最低 Python 版本的 :c:data:"
150+
"將 ``Py_LIMITED_API`` 定義為對應於你的擴充有支援的最低 Python 版本的 :c:macro:"
152151
"`PY_VERSION_HEX` 值。該擴充無需重新編譯即可與從指定版本開始的所有 Python 3 版"
153152
"本一起使用,並且可以使用過去版本有引入的受限 API。"
154153

‎c-api/typeobj.po

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2336,54 +2336,48 @@ msgid "Comparison"
23362336
msgstr""
23372337

23382338
#:../../c-api/typeobj.rst:1519
2339-
#,fuzzy
23402339
msgid":c:macro:`Py_LT`"
2341-
msgstr":const:`Py_LT`"
2340+
msgstr":c:macro:`Py_LT`"
23422341

23432342
#:../../c-api/typeobj.rst:1519
23442343
msgid"``<``"
23452344
msgstr"``<``"
23462345

23472346
#:../../c-api/typeobj.rst:1521
2348-
#,fuzzy
23492347
msgid":c:macro:`Py_LE`"
2350-
msgstr":const:`Py_LE`"
2348+
msgstr":c:macro:`Py_LE`"
23512349

23522350
#:../../c-api/typeobj.rst:1521
23532351
msgid"``<=``"
23542352
msgstr"``<=``"
23552353

23562354
#:../../c-api/typeobj.rst:1523
2357-
#,fuzzy
23582355
msgid":c:macro:`Py_EQ`"
2359-
msgstr":const:`Py_EQ`"
2356+
msgstr":c:macro:`Py_EQ`"
23602357

23612358
#:../../c-api/typeobj.rst:1523
23622359
msgid"``==``"
23632360
msgstr"``==``"
23642361

23652362
#:../../c-api/typeobj.rst:1525
2366-
#,fuzzy
23672363
msgid":c:macro:`Py_NE`"
2368-
msgstr":const:`Py_NE`"
2364+
msgstr":c:macro:`Py_NE`"
23692365

23702366
#:../../c-api/typeobj.rst:1525
23712367
msgid"``!=``"
23722368
msgstr"``!=``"
23732369

23742370
#:../../c-api/typeobj.rst:1527
2375-
#,fuzzy
23762371
msgid":c:macro:`Py_GT`"
2377-
msgstr":const:`Py_GT`"
2372+
msgstr":c:macro:`Py_GT`"
23782373

23792374
#:../../c-api/typeobj.rst:1527
23802375
msgid"``>``"
23812376
msgstr"``>``"
23822377

23832378
#:../../c-api/typeobj.rst:1529
2384-
#,fuzzy
23852379
msgid":c:macro:`Py_GE`"
2386-
msgstr":const:`Py_GE`"
2380+
msgstr":c:macro:`Py_GE`"
23872381

23882382
#:../../c-api/typeobj.rst:1529
23892383
msgid"``>=``"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp