@@ -50,7 +50,7 @@ msgstr "在執行緒相關的錯誤發生時引發。"
50
50
51
51
#: ../../library/_thread.rst:35
52
52
msgid "This is now a synonym of the built-in :exc:`RuntimeError`."
53
- msgstr "現在是內建異常 :exc:`RuntimeError` 的別名。"
53
+ msgstr "現在是內建例外 :exc:`RuntimeError` 的別名。"
54
54
55
55
#: ../../library/_thread.rst:41
56
56
msgid "This is the type of lock objects."
@@ -77,15 +77,15 @@ msgid ""
77
77
"the hook argument is *function*. By default, a stack trace is printed and "
78
78
"then the thread exits (but other threads continue to run)."
79
79
msgstr ""
80
- "當函式因未處理的異常終止時 ,將呼叫 :func:`sys.unraisablehook` 來處理該異常 。鉤"
80
+ "當函式因未處理的例外終止時 ,將呼叫 :func:`sys.unraisablehook` 來處理該例外 。鉤"
81
81
"子引數的 *object* 屬性是 *function*。預設情況下,會打印堆疊跟蹤,然後執行緒退"
82
82
"出(但其他執行緒會繼續運行)。"
83
83
84
84
#: ../../library/_thread.rst:57
85
85
msgid ""
86
86
"When the function raises a :exc:`SystemExit` exception, it is silently "
87
87
"ignored."
88
- msgstr "當函式引發 :exc:`SystemExit` 異常時 ,它會被靜默忽略。"
88
+ msgstr "當函式引發 :exc:`SystemExit` 例外時 ,它會被靜默忽略。"
89
89
90
90
#: ../../library/_thread.rst:60
91
91
msgid ""
@@ -97,7 +97,7 @@ msgstr ""
97
97
98
98
#: ../../library/_thread.rst:62
99
99
msgid ":func:`sys.unraisablehook` is now used to handle unhandled exceptions."
100
- msgstr "現在使用 :func:`sys.unraisablehook` 來處理未處理的異常 。"
100
+ msgstr "現在使用 :func:`sys.unraisablehook` 來處理未處理的例外 。"
101
101
102
102
#: ../../library/_thread.rst:68
103
103
msgid ""
@@ -141,7 +141,7 @@ msgstr ""
141
141
msgid ""
142
142
"Raise the :exc:`SystemExit` exception. When not caught, this will cause the "
143
143
"thread to exit silently."
144
- msgstr "引發 :exc:`SystemExit` 異常 。當未捕獲時,將導致執行緒靜默退出。"
144
+ msgstr "引發 :exc:`SystemExit` 例外 。當未捕獲時,將導致執行緒靜默退出。"
145
145
146
146
#: ../../library/_thread.rst:104
147
147
msgid ""
@@ -304,15 +304,15 @@ msgid ""
304
304
"module is available, interrupts always go to the main thread.)"
305
305
msgstr ""
306
306
"執行緒與中斷的互動可能會有奇怪的情況:任何一個執行緒都有可能收到 :exc:"
307
- "`KeyboardInterrupt` 異常 。(當 :mod:`signal` 模組可用時,中斷總是會進入主執行"
307
+ "`KeyboardInterrupt` 例外 。(當 :mod:`signal` 模組可用時,中斷總是會進入主執行"
308
308
"緒。)"
309
309
310
310
#: ../../library/_thread.rst:217
311
311
msgid ""
312
312
"Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is "
313
313
"equivalent to calling :func:`_thread.exit`."
314
314
msgstr ""
315
- "呼叫 :func:`sys.exit` 函數或引發 :exc:`SystemExit` 異常等同於呼叫 :func:"
315
+ "呼叫 :func:`sys.exit` 函數或引發 :exc:`SystemExit` 例外等同於呼叫 :func:"
316
316
"`_thread.exit` 函式。"
317
317
318
318
#: ../../library/_thread.rst:220
@@ -322,7 +322,7 @@ msgid ""
322
322
"lock has been acquired."
323
323
msgstr ""
324
324
"無法在鎖的 :meth:`~threading.Lock.acquire` 方法上中斷執行, :exc:"
325
- "`KeyboardInterrupt` 異常會在鎖被獲取後發生 。"
325
+ "`KeyboardInterrupt` 例外會在鎖被獲取後發生 。"
326
326
327
327
#: ../../library/_thread.rst:224
328
328
msgid ""
0 commit comments