@@ -94,10 +94,9 @@ msgid ""
94
94
"and the exception suppressed. As a result, callers cannot assume that their "
95
95
"hook has been added unless they control all existing hooks."
96
96
msgstr ""
97
- "呼叫 :func:`sys.addaudithook` 本身會引發一個不帶任何引數、名為 ``sys."
98
- "addaudithook`` 的稽核事件。如果任何現有的 hook 引發從 :class:`RuntimeError` "
99
- "衍生的例外,則不會添加新的 hook 並抑制異常。因此,除非呼叫者控制所有已存在的 "
100
- "hook,他們不能假設他們的 hook 已被添加。"
97
+ "呼叫 :func:`sys.addaudithook` 本身會引發一個不帶任何引數、名為 ``sys.addaudithook`` "
98
+ "的稽核事件。如果任何現有的 hook 引發從 :class:`RuntimeError` 衍生的例外,則不會添加新的 hook "
99
+ "並抑制異常。因此,除非呼叫者控制所有已存在的 hook,他們不能假設他們的 hook 已被添加。"
101
100
102
101
#: ../../library/sys.rst:58
103
102
msgid ""
@@ -255,7 +254,7 @@ msgstr ""
255
254
256
255
#: ../../library/sys.rst:187
257
256
msgid "A string containing the copyright pertaining to the Python interpreter."
258
- msgstr "包含與 Python 直譯器相關的版權資訊的字串。 "
257
+ msgstr ""
259
258
260
259
#: ../../library/sys.rst:192
261
260
msgid ""
@@ -321,8 +320,7 @@ msgid ""
321
320
"Raises an :ref:`auditing event <auditing>` ``sys._current_exceptions`` with "
322
321
"no arguments."
323
322
msgstr ""
324
- "引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``sys."
325
- "_current_exceptions``。"
323
+ "引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``sys._current_exceptions``。"
326
324
327
325
#: ../../library/sys.rst:240
328
326
msgid ""
@@ -470,8 +468,7 @@ msgid ""
470
468
"Runtime string, e.g. browser user agent, ``'Node.js v14.18.2'``, or "
471
469
"``'UNKNOWN'``."
472
470
msgstr ""
473
- "運行環境字串,例如瀏覽器使用者代理 (browser user agent) ``'Node.js "
474
- "v14.18.2'`` 或 ``'UNKNOWN'``。"
471
+ "運行環境字串,例如瀏覽器使用者代理 (browser user agent) ``'Node.js v14.18.2'`` 或 ``'UNKNOWN'``。"
475
472
476
473
#: ../../library/sys.rst:363
477
474
msgid "``True`` if Python is compiled with Emscripten pthreads support."
@@ -1111,7 +1108,6 @@ msgid ""
1111
1108
"causing an overflow of the C stack and crashing Python. It can be set by :"
1112
1109
"func:`setrecursionlimit`."
1113
1110
msgstr ""
1114
- "回傳遞迴限制的目前值,即 Python 直譯器堆疊的最大深度。此限制防止無限遞迴導致 C 堆疊溢位並導致 Python 當機。它可以透過 :func:`setrecursionlimit` 設定。"
1115
1111
1116
1112
#: ../../library/sys.rst:865
1117
1113
msgid ""
@@ -1167,8 +1163,7 @@ msgid ""
1167
1163
"Raises an :ref:`auditing event <auditing>` ``sys._getframe`` with argument "
1168
1164
"``frame``."
1169
1165
msgstr ""
1170
- "引發一個附帶引數 ``frame`` 的\\ :ref:`稽核事件 <auditing>` ``sys."
1171
- "_getframe``。"
1166
+ "引發一個附帶引數 ``frame`` 的\\ :ref:`稽核事件 <auditing>` ``sys._getframe``。"
1172
1167
1173
1168
#: ../../library/sys.rst:903 ../../library/sys.rst:919
1174
1169
msgid ""
@@ -1190,8 +1185,7 @@ msgid ""
1190
1185
"Raises an :ref:`auditing event <auditing>` ``sys._getframemodulename`` with "
1191
1186
"argument ``depth``."
1192
1187
msgstr ""
1193
- "引發一個附帶引數 ``depth`` 的\\ :ref:`稽核事件 <auditing>` ``sys."
1194
- "_getframemodulename``。"
1188
+ "引發一個附帶引數 ``depth`` 的\\ :ref:`稽核事件 <auditing>` ``sys._getframemodulename``。"
1195
1189
1196
1190
#: ../../library/sys.rst:927
1197
1191
msgid ""
@@ -1677,14 +1671,12 @@ msgid ""
1677
1671
"size may change during iteration as a side effect of code or activity in "
1678
1672
"other threads."
1679
1673
msgstr ""
1680
- "這是一個將模組名稱對應到已經載入的模組的字典。這可以被操作來強制重新載入模組和其他技巧。然而,替換字典不一定會如預期般運作,從字典中刪除重要項目可能會導致 Python 失敗。如果你想要迭代這個全域字典,請總是使用 ``sys.modules.copy()`` 或 ``tuple(sys.modules)`` 來避免例外,因為其大小可能會在迭代過程中因為其他執行緒中的程式碼或活動而改變。"
1681
1674
1682
1675
#: ../../library/sys.rst:1351
1683
1676
msgid ""
1684
1677
"The list of the original command line arguments passed to the Python "
1685
1678
"executable."
1686
1679
msgstr ""
1687
- "傳遞給 Python 可執行檔的原始命令列引數清單。"
1688
1680
1689
1681
#: ../../library/sys.rst:1354
1690
1682
msgid ""
@@ -1709,7 +1701,7 @@ msgid ""
1709
1701
"is prepended to :data:`sys.path` (*before* the entries inserted as a result "
1710
1702
"of :envvar:`PYTHONPATH`):"
1711
1703
msgstr ""
1712
- "預設情況下,在程式啟動時初始化時,會將一個可能不安全的路徑前置到 :data:`sys.path`(在由於 :envvar:`PYTHONPATH` 而插入的條目*之前* ):"
1704
+ "預設情況下,在程式啟動時初始化時,會將一個可能不安全的路徑前置到 :data:`sys.path` (在 :envvar:`PYTHONPATH` 產生的條目之前 ):"
1713
1705
1714
1706
#: ../../library/sys.rst:1374
1715
1707
msgid ""
@@ -1774,7 +1766,7 @@ msgstr ""
1774
1766
1775
1767
#: ../../library/sys.rst:1415
1776
1768
msgid "A string containing a platform identifier. Known values are:"
1777
- msgstr "包含平台識別符的字串。已知的值有: "
1769
+ msgstr ""
1778
1770
1779
1771
#: ../../library/sys.rst:1418
1780
1772
msgid "System"
@@ -2076,7 +2068,6 @@ msgid ""
2076
2068
"limit prevents infinite recursion from causing an overflow of the C stack "
2077
2069
"and crashing Python."
2078
2070
msgstr ""
2079
- "將 Python 直譯器堆疊的最大深度設定為 *limit*。此限制防止無限遞迴導致 C 堆疊溢位並導致 Python 當機。"
2080
2071
2081
2072
#: ../../library/sys.rst:1591
2082
2073
msgid ""
@@ -2085,14 +2076,12 @@ msgid ""
2085
2076
"platform that supports a higher limit. This should be done with care, "
2086
2077
"because a too-high limit can lead to a crash."
2087
2078
msgstr ""
2088
- "可能的最高限制取決於平台。當使用者有需要深度遞迴的程式且平台支援更高限制時,可能需要設定更高的限制。這應該謹慎進行,因為過高的限制可能導致當機。"
2089
2079
2090
2080
#: ../../library/sys.rst:1596
2091
2081
msgid ""
2092
2082
"If the new limit is too low at the current recursion depth, a :exc:"
2093
2083
"`RecursionError` exception is raised."
2094
2084
msgstr ""
2095
- "如果新限制在目前遞迴深度下過低,會引發 :exc:`RecursionError` 例外。"
2096
2085
2097
2086
#: ../../library/sys.rst:1599
2098
2087
msgid ""
@@ -2266,16 +2255,14 @@ msgid ""
2266
2255
"Raises an :ref:`auditing event <auditing>` ``sys."
2267
2256
"set_asyncgen_hooks_firstiter`` with no arguments."
2268
2257
msgstr ""
2269
- "引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``sys."
2270
- "set_asyncgen_hooks_firstiter``。"
2258
+ "引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``sys.set_asyncgen_hooks_firstiter``。"
2271
2259
2272
2260
#: ../../library/sys.rst:1724
2273
2261
msgid ""
2274
2262
"Raises an :ref:`auditing event <auditing>` ``sys."
2275
2263
"set_asyncgen_hooks_finalizer`` with no arguments."
2276
2264
msgstr ""
2277
- "引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``sys."
2278
- "set_asyncgen_hooks_finalizer``。"
2265
+ "引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``sys.set_asyncgen_hooks_finalizer``。"
2279
2266
2280
2267
#: ../../library/sys.rst:1726
2281
2268
msgid ""
@@ -2374,39 +2361,34 @@ msgid ""
2374
2361
":term:`File objects <file object>` used by the interpreter for standard "
2375
2362
"input, output and errors:"
2376
2363
msgstr ""
2377
- "直譯器用於標準輸入、輸出和錯誤的\\ :term:`檔案物件 <file object>`:"
2378
2364
2379
2365
#: ../../library/sys.rst:1824
2380
2366
msgid ""
2381
2367
"``stdin`` is used for all interactive input (including calls to :func:"
2382
2368
"`input`);"
2383
2369
msgstr ""
2384
- "``stdin`` 用於所有互動式輸入(包括對 :func:`input` 的呼叫);"
2385
2370
2386
2371
#: ../../library/sys.rst:1826
2387
2372
msgid ""
2388
2373
"``stdout`` is used for the output of :func:`print` and :term:`expression` "
2389
2374
"statements and for the prompts of :func:`input`;"
2390
2375
msgstr ""
2391
- "``stdout`` 用於 :func:`print` 和\\ :term:`運算式 <expression>` 陳述式的輸出以及 :func:`input` 的提示;"
2392
2376
2393
2377
#: ../../library/sys.rst:1828
2394
2378
msgid "The interpreter's own prompts and its error messages go to ``stderr``."
2395
- msgstr "直譯器自己的提示和錯誤訊息會輸出到 ``stderr``。 "
2379
+ msgstr ""
2396
2380
2397
2381
#: ../../library/sys.rst:1830
2398
2382
msgid ""
2399
2383
"These streams are regular :term:`text files <text file>` like those returned "
2400
2384
"by the :func:`open` function. Their parameters are chosen as follows:"
2401
2385
msgstr ""
2402
- "這些串流是常規的\\ :term:`文字檔案 <text file>`,就像 :func:`open` 函式回傳的那些。它們的參數選擇如下:"
2403
2386
2404
2387
#: ../../library/sys.rst:1834
2405
2388
msgid ""
2406
2389
"The encoding and error handling are is initialized from :c:member:`PyConfig."
2407
2390
"stdio_encoding` and :c:member:`PyConfig.stdio_errors`."
2408
2391
msgstr ""
2409
- "編碼和錯誤處理從 :c:member:`PyConfig.stdio_encoding` 和 :c:member:`PyConfig.stdio_errors` 初始化。"
2410
2392
2411
2393
#: ../../library/sys.rst:1837
2412
2394
msgid ""
@@ -2684,7 +2666,6 @@ msgid ""
2684
2666
"this value. Refer to the :mod:`warnings` module for more information on the "
2685
2667
"warnings framework."
2686
2668
msgstr ""
2687
- "這是警告框架的實作細節;不要修改此值。請參考 :mod:`warnings` 模組以獲取有關警告框架的更多資訊。"
2688
2669
2689
2670
#: ../../library/sys.rst:2042
2690
2671
msgid ""
0 commit comments