Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2a6710

Browse files
committed
fix:修改相關的字詞誤用
1 parent 165b5e0 commit c2a6710

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

library/_thread.po

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ msgid ""
6262
"function *function* with the argument list *args* (which must be a tuple). "
6363
"The optional *kwargs* argument specifies a dictionary of keyword arguments."
6464
msgstr ""
65-
"開始一個新的執行緒並回傳其識別碼 (identifier) 。該執行緒執行帶有引數列表 "
65+
"開始一個新的執行緒並回傳其識別字 (identifier) 。該執行緒執行帶有引數列表 "
6666
"*args*(必須是一個 tuple(元組))的函式 *function*。可選的 *kwargs* 引數指定"
6767
"一個關鍵字引數的字典。"
6868

@@ -78,7 +78,7 @@ msgid ""
7878
"then the thread exits (but other threads continue to run)."
7979
msgstr ""
8080
"當函式因未處理的例外終止時,將呼叫 :func:`sys.unraisablehook` 來處理該例外。鉤"
81-
"子引數的 *object* 屬性是 *function*。預設情況下,會打印堆疊跟蹤,然後執行緒退"
81+
"子引數的 *object* 屬性是 *function*。預設情況下,會列印堆疊跟蹤,然後執行緒退"
8282
"出(但其他執行緒會繼續運行)。"
8383

8484
#: ../../library/_thread.rst:57
@@ -105,37 +105,37 @@ msgid ""
105105
"use this function to interrupt the main thread, though there is no guarantee "
106106
"that the interruption will happen immediately."
107107
msgstr ""
108-
"模擬一個信號到達主執行緒的效果。執行緒可以使用此函式來中斷主執行緒,但無法保"
108+
"模擬一個訊號到達主執行緒的效果。執行緒可以使用此函式來中斷主執行緒,但無法保"
109109
"證中斷會立即發生。"
110110

111111
#: ../../library/_thread.rst:72
112112
msgid ""
113113
"If given, *signum* is the number of the signal to simulate. If *signum* is "
114114
"not given, :const:`signal.SIGINT` is simulated."
115115
msgstr ""
116-
"如果提供了 *signum*,則模擬指定的信號編號。如果未提供 *signum*,則模擬 :"
117-
"const:`signal.SIGINT` 信號。"
116+
"如果提供了 *signum*,則模擬指定的訊號編號。如果未提供 *signum*,則模擬 :"
117+
"const:`signal.SIGINT` 訊號。"
118118

119119
#: ../../library/_thread.rst:75
120120
msgid ""
121121
"If the given signal isn't handled by Python (it was set to :const:`signal."
122122
"SIG_DFL` or :const:`signal.SIG_IGN`), this function does nothing."
123123
msgstr ""
124-
"如果給定的信號在 Python 中未被處理(即設置為 :const:`signal.SIG_DFL` 或 :"
124+
"如果給定的訊號在 Python 中未被處理(即設置為 :const:`signal.SIG_DFL` 或 :"
125125
"const:`signal.SIG_IGN`),此函式不做任何操作。"
126126

127127
#: ../../library/_thread.rst:79
128128
msgid "The *signum* argument is added to customize the signal number."
129-
msgstr "新增了 *signum* 引數以自定義信號編號。"
129+
msgstr "新增了 *signum* 引數以自定義訊號編號。"
130130

131131
#: ../../library/_thread.rst:83
132132
msgid ""
133133
"This does not emit the corresponding signal but schedules a call to the "
134134
"associated handler (if it exists). If you want to truly emit the signal, "
135135
"use :func:`signal.raise_signal`."
136136
msgstr ""
137-
"這並不會發出對應的信號,而是安排呼叫相應的處理器(如果存在的話)。如果您想真"
138-
"正發出信號,請使用 :func:`signal.raise_signal`。"
137+
"這並不會發出對應的訊號,而是安排呼叫相應的處理器(如果存在的話)。如果您想真"
138+
"正發出訊號,請使用 :func:`signal.raise_signal`。"
139139

140140
#: ../../library/_thread.rst:90
141141
msgid ""
@@ -157,9 +157,9 @@ msgid ""
157157
"identifiers may be recycled when a thread exits and another thread is "
158158
"created."
159159
msgstr ""
160-
"回傳當前執行緒的「執行緒識別碼」。這是一個非零的整數。它的值沒有直接的含義;"
160+
"回傳當前執行緒的「執行緒識別字」。這是一個非零的整數。它的值沒有直接的含義;"
161161
"它被用作一個 magic cookie,例如用於索引特定於執行緒的資料的字典。當執行緒退出"
162-
"並建立另一個執行緒時,執行緒識別碼可能會被重複使用。"
162+
"並建立另一個執行緒時,執行緒識別字可能會被重複使用。"
163163

164164
#: ../../library/_thread.rst:118
165165
msgid ""
@@ -272,7 +272,7 @@ msgstr "新增的 *timeout* 參數。"
272272

273273
#: ../../library/_thread.rst:184
274274
msgid "Lock acquires can now be interrupted by signals on POSIX."
275-
msgstr "現在獲取鎖的操作可以被 POSIX 信號中斷。"
275+
msgstr "現在獲取鎖的操作可以被 POSIX 訊號中斷。"
276276

277277
#: ../../library/_thread.rst:190
278278
msgid ""

0 commit comments

Comments
 (0)