Skip to content

Commit 4491c4f

Browse files
mattwang44claude
andcommitted
Fix issues found in team review
Eight reviewers (meaning and terminology lenses, two per entry) went over every entry this PR added or changed except plain code copies. Fix the 32 entries they flagged, plus slot -> 插槽 in two code comments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c5bce16 commit 4491c4f

25 files changed

Lines changed: 58 additions & 57 deletions

‎builtins/functions.po‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,9 +2039,10 @@ msgid ""
20392039
"`TypeError` exception is raised."
20402040
msgstr ""
20412041
"如果 *cls* 是 *classinfo* 的 subclass(直接、間接或 :term:`virtual <abstract "
2042-
"base class>`),則回傳 ``True``。*classinfo* 可以是 class 物件的 tuple(或遞"
2043-
"迴地其他類似 tuple)或是一個 :ref:`types-union`,此時若 *cls* 是 *classinfo* "
2044-
"中任一元素的 subclass 時則回傳 ``True``。其他情況,會引發 :exc:`TypeError`。"
2042+
"base class>`),則回傳 ``True``。一個 class 會被視為自己的 subclass。"
2043+
"*classinfo* 可以是 class 物件的 tuple(或遞迴地其他類似 tuple)或是一"
2044+
"個 :ref:`types-union`,此時若 *cls* 是 *classinfo* 中任一元素的 subclass 時則"
2045+
"回傳 ``True``。其他情況,會引發 :exc:`TypeError`。"
20452046

20462047
#: ../../builtins/functions.rst:1158
20472048
msgid ""

‎c-api/conversion.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ msgid ""
213213
msgstr ""
214214
"如果 ``s`` 表示的值太大而無法儲存在浮點數中(例如 ``\"1e500\"`` 在許多平台上"
215215
"都是這樣的字串),如果 ``overflow_exception`` 為 ``NULL`` 則回傳 :c:macro:`!"
216-
"INFINITY`\\ (會帶有適當的符號)並且不設定任何例外。否則, "
216+
"INFINITY`\\ (會帶有適當的符號)並且不設定任何例外。否則,"
217217
"``overflow_exception`` 必須指向一個 Python 例外物件;引發該例外並回傳 "
218218
"``-1.0``。在這兩種情況下,將 ``*endptr`` 設定為指向轉換後的值之後的第一個字"
219219
"元。"

‎c-api/module.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ msgstr ""
188188

189189
#: ../../c-api/module.rst:164
190190
msgid "Metadata slots"
191-
msgstr "元資料槽 (Metadata slots)"
191+
msgstr "元資料插槽 (Metadata slots)"
192192

193193
#: ../../c-api/module.rst:168
194194
msgid ""
@@ -225,7 +225,7 @@ msgstr ""
225225

226226
#: ../../c-api/module.rst:194
227227
msgid "Feature slots"
228-
msgstr "功能槽 (Feature slots)"
228+
msgstr "功能插槽 (Feature slots)"
229229

230230
#: ../../c-api/module.rst:198
231231
msgid ""

‎c-api/stable.po‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,9 @@ msgid ""
390390
"changes in Python can change the *behavior* of extensions."
391391
msgstr ""
392392
"請注意,針對穩定 ABI 進行編譯\\ *並不*\\ 完全保證程式碼會與預期的 Python 版本"
393-
"相容。穩定 ABI 可以防止 *ABI* 問題,例如由於結構布局或函式簽名變化導致缺少符"
394-
"號或數據損壞的鏈接器 (linker) 錯誤。然而,Python 的其他變化可能會改變擴充的"
395-
"\\ *行為*。"
393+
"相容。穩定 ABI 可以防止 *ABI* 問題,例如因缺少符號而導致的連結器 (linker) 錯"
394+
"誤,或因結構布局或函式簽名變更而導致的資料損壞。然而,Python 的其他變化可能會"
395+
"改變擴充的\\ *行為*。"
396396

397397
#: ../../c-api/stable.rst:238
398398
msgid ""
@@ -408,7 +408,7 @@ msgstr ""
408408
"題是使用在較低 Python 版本中無效的引數來呼叫函式。例如一個開始接受 ``NULL`` "
409409
"作為引數的函式。在 Python 3.9 中,``NULL`` 現在代表選擇預設行為,但在 Python "
410410
"3.8 中,引數將被直接使用,導致 ``NULL`` 取消參照 (dereference) 且崩潰 "
411-
"(crash)。類似的引數適用於結構 (struct) 的欄位。"
411+
"(crash)。類似的論點也適用於結構 (struct) 的欄位。"
412412

413413
#: ../../c-api/stable.rst:246
414414
msgid ""

‎c-api/tuple.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ msgid ""
160160
"*only* be used to fill in brand new tuples, using it on an existing tuple is "
161161
"thread-unsafe."
162162
msgstr ""
163-
"與 :c:func:`PyTuple_SetItem` 相似,但不進行錯誤檢查,且應 *只* 用於填充全新的"
164-
"元組,在既有的元組上使用它不是執行緒安全的。"
163+
"與 :c:func:`PyTuple_SetItem` 相似,但不進行錯誤檢查,且應\\ *只*\\ 用於填充全"
164+
"新的元組,在既有的元組上使用它不是執行緒安全的。"
165165

166166
#: ../../c-api/tuple.rst:117 ../../c-api/tuple.rst:244
167167
#: ../../c-api/tuple.rst:262

‎deprecations/index.po‎

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

14901490
#: ../../deprecations/c-api-pending-removal-in-3.16.rst:4
14911491
msgid "The bundled copy of ``libmpdec``."
1492-
msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"
1492+
msgstr "``libmpdec`` 的打包副本 (bundled copy)。"
14931493

14941494
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:4
14951495
msgid ""

‎deprecations/pending-removal-in-3.15.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ msgid ""
150150
"in 3.15. (Contributed by Nikita Sobolev in :gh:`101866`.)"
151151
msgstr ""
152152
":class:`types.CodeType`:自 3.10 起,存取 :attr:`!codeobject.co_lnotab` 已"
153-
"在 :pep:`626` 中被棄用,並計劃在 3.12 中移除,但只在 3.12 中於適當時發"
154-
"出 :exc:`DeprecationWarning`。可能在 3.15 中移除。(由 Nikita Sobolev "
153+
"在 :pep:`626` 中被棄用,並計劃在 3.12 中移除,但直到 3.12 才有正式"
154+
"的 :exc:`DeprecationWarning`。可能在 3.15 中移除。(由 Nikita Sobolev "
155155
"於 :gh:`101866` 貢獻。)"
156156

157157
#: ../../deprecations/pending-removal-in-3.15.rst:70

‎extending/first-extension-module.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ msgstr ""
258258
"py = import('python').find_installation(pure: false)\n"
259259
"\n"
260260
"py.extension_module(\n"
261-
" 'spam', # 可匯入的 Python 模組名稱\n"
261+
" 'spam', # 可引入的 Python 模組名稱\n"
262262
" 'spammodule.c', # C 原始檔\n"
263263
" install: true,\n"
264264
")"
@@ -1093,7 +1093,7 @@ msgstr ""
10931093
" {NULL, NULL, 0, NULL} /* 哨兵 */\n"
10941094
"};\n"
10951095
"\n"
1096-
"/// 模組槽表\n"
1096+
"/// 模組插槽表\n"
10971097
"\n"
10981098
"PyABIInfo_VAR(abi_info);\n"
10991099
"\n"

‎howto/abi3t-migration.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ msgstr ""
690690
"\n"
691691
"static PyModuleDef_Slot my_slots[] = {\n"
692692
" ...\n"
693-
" /* (移除其他 Py_mod_exec 槽) */\n"
693+
" /* (移除其他 Py_mod_exec 插槽) */\n"
694694
" ...\n"
695695
" {Py_mod_exec, my_module_exec},\n"
696696
" {0, NULL}\n"

‎library/base64.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,8 @@ msgid ""
528528
"by default contains all whitespace characters in ASCII."
529529
msgstr ""
530530
"*ignorechars* 應是一個包含要從輸入中忽略的字元的\\ :term:`類位元組物件 "
531-
"<bytes-like object>`。這只包含空格字元,預設情況下包含 ASCII 中的所有空格字"
532-
"元。"
531+
"<bytes-like object>`。這應該只包含空白字元,預設情況下包含 ASCII 中的所有空白"
532+
"字元。"
533533

534534
#: ../../library/base64.rst:360
535535
msgid ""

0 commit comments

Comments
 (0)