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

Skip to content

Commit 165b5e0

Browse files
committed
fix:exception 異常=>例外
1 parent 405093d commit 165b5e0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

library/_thread.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ msgstr "在執行緒相關的錯誤發生時引發。"
5050

5151
#: ../../library/_thread.rst:35
5252
msgid "This is now a synonym of the built-in :exc:`RuntimeError`."
53-
msgstr "現在是內建異常 :exc:`RuntimeError` 的別名。"
53+
msgstr "現在是內建例外 :exc:`RuntimeError` 的別名。"
5454

5555
#: ../../library/_thread.rst:41
5656
msgid "This is the type of lock objects."
@@ -77,15 +77,15 @@ msgid ""
7777
"the hook argument is *function*. By default, a stack trace is printed and "
7878
"then the thread exits (but other threads continue to run)."
7979
msgstr ""
80-
"當函式因未處理的異常終止時,將呼叫 :func:`sys.unraisablehook` 來處理該異常。鉤"
80+
"當函式因未處理的例外終止時,將呼叫 :func:`sys.unraisablehook` 來處理該例外。鉤"
8181
"子引數的 *object* 屬性是 *function*。預設情況下,會打印堆疊跟蹤,然後執行緒退"
8282
"出(但其他執行緒會繼續運行)。"
8383

8484
#: ../../library/_thread.rst:57
8585
msgid ""
8686
"When the function raises a :exc:`SystemExit` exception, it is silently "
8787
"ignored."
88-
msgstr "當函式引發 :exc:`SystemExit` 異常時,它會被靜默忽略。"
88+
msgstr "當函式引發 :exc:`SystemExit` 例外時,它會被靜默忽略。"
8989

9090
#: ../../library/_thread.rst:60
9191
msgid ""
@@ -97,7 +97,7 @@ msgstr ""
9797

9898
#: ../../library/_thread.rst:62
9999
msgid ":func:`sys.unraisablehook` is now used to handle unhandled exceptions."
100-
msgstr "現在使用 :func:`sys.unraisablehook` 來處理未處理的異常。"
100+
msgstr "現在使用 :func:`sys.unraisablehook` 來處理未處理的例外。"
101101

102102
#: ../../library/_thread.rst:68
103103
msgid ""
@@ -141,7 +141,7 @@ msgstr ""
141141
msgid ""
142142
"Raise the :exc:`SystemExit` exception. When not caught, this will cause the "
143143
"thread to exit silently."
144-
msgstr "引發 :exc:`SystemExit` 異常。當未捕獲時,將導致執行緒靜默退出。"
144+
msgstr "引發 :exc:`SystemExit` 例外。當未捕獲時,將導致執行緒靜默退出。"
145145

146146
#: ../../library/_thread.rst:104
147147
msgid ""
@@ -304,15 +304,15 @@ msgid ""
304304
"module is available, interrupts always go to the main thread.)"
305305
msgstr ""
306306
"執行緒與中斷的互動可能會有奇怪的情況:任何一個執行緒都有可能收到 :exc:"
307-
"`KeyboardInterrupt` 異常。(當 :mod:`signal` 模組可用時,中斷總是會進入主執行"
307+
"`KeyboardInterrupt` 例外。(當 :mod:`signal` 模組可用時,中斷總是會進入主執行"
308308
"緒。)"
309309

310310
#: ../../library/_thread.rst:217
311311
msgid ""
312312
"Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is "
313313
"equivalent to calling :func:`_thread.exit`."
314314
msgstr ""
315-
"呼叫 :func:`sys.exit` 函數或引發 :exc:`SystemExit` 異常等同於呼叫 :func:"
315+
"呼叫 :func:`sys.exit` 函數或引發 :exc:`SystemExit` 例外等同於呼叫 :func:"
316316
"`_thread.exit` 函式。"
317317

318318
#: ../../library/_thread.rst:220
@@ -322,7 +322,7 @@ msgid ""
322322
"lock has been acquired."
323323
msgstr ""
324324
"無法在鎖的 :meth:`~threading.Lock.acquire` 方法上中斷執行, :exc:"
325-
"`KeyboardInterrupt` 異常會在鎖被獲取後發生。"
325+
"`KeyboardInterrupt` 例外會在鎖被獲取後發生。"
326326

327327
#: ../../library/_thread.rst:224
328328
msgid ""

0 commit comments

Comments
 (0)