@@ -10,7 +10,7 @@ msgstr ""
10
10
"Project-Id-Version : Python 3.12\n "
11
11
"Report-Msgid-Bugs-To : \n "
12
12
"POT-Creation-Date : 2024-02-26 00:03+0000\n "
13
- "PO-Revision-Date : 2024-04-25 15:10 +0800\n "
13
+ "PO-Revision-Date : 2024-05-02 18:41 +0800\n "
14
14
"
Last-Translator :
KNChiu <[email protected] >\n "
15
15
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
16
16
"tw)\n "
@@ -410,10 +410,12 @@ msgid ""
410
410
"Return an :term:`asynchronous iterator` for an :term:`asynchronous "
411
411
"iterable`. Equivalent to calling ``x.__aiter__()``."
412
412
msgstr ""
413
+ "回傳 :term:`非同步疊代器 <asynchronous iterator>` 做為 :term:`非同步可疊代物"
414
+ "件 <asynchronous iterable>`。相當於呼叫 x.__aiter__()。"
413
415
414
416
#: ../../library/functions.rst:70
415
417
msgid "Note: Unlike :func:`iter`, :func:`aiter` has no 2-argument variant."
416
- msgstr ""
418
+ msgstr "注意:與 :func:`iter` 不同,:func:`aiter` 沒有兩個引數的變體。 "
417
419
418
420
#: ../../library/functions.rst:76
419
421
msgid ""
@@ -430,11 +432,13 @@ msgid ""
430
432
"When awaited, return the next item from the given :term:`asynchronous "
431
433
"iterator`, or *default* if given and the iterator is exhausted."
432
434
msgstr ""
435
+ "當進入 await 時,從給定的 :term:`asynchronous iterator` 中回傳下一個項目"
436
+ "(item),疊代完畢則回傳 *default* 。"
433
437
434
438
#: ../../library/functions.rst:92
435
439
msgid ""
436
440
"This is the async variant of the :func:`next` builtin, and behaves similarly."
437
- msgstr ""
441
+ msgstr "這是內建函式 :func:`next` 的非同步版本,其行為類似於: "
438
442
439
443
#: ../../library/functions.rst:95
440
444
msgid ""
@@ -443,6 +447,9 @@ msgid ""
443
447
"iterator. If *default* is given, it is returned if the iterator is "
444
448
"exhausted, otherwise :exc:`StopAsyncIteration` is raised."
445
449
msgstr ""
450
+ "呼叫 *async_iterator* 的 :meth:`~object.__anext__` 方法,回傳 :term:"
451
+ "`awaitable`。等待返回疊代器的下一個值。如果指定 *default*,當疊代器結束時會返"
452
+ "回該值,否則會引發 :exc:`StopAsyncIteration` 。"
446
453
447
454
#: ../../library/functions.rst:104
448
455
msgid ""
@@ -505,7 +512,7 @@ msgstr ""
505
512
#: ../../library/functions.rst:155 ../../library/functions.rst:710
506
513
#: ../../library/functions.rst:934
507
514
msgid "*x* is now a positional-only parameter."
508
- msgstr ""
515
+ msgstr "*x* 現在為僅限位置參數。 "
509
516
510
517
#: ../../library/functions.rst:160
511
518
msgid ""
@@ -519,19 +526,28 @@ msgid ""
519
526
"you to drop into the debugger of choice. If :func:`sys.breakpointhook` is "
520
527
"not accessible, this function will raise :exc:`RuntimeError`."
521
528
msgstr ""
529
+ "這個函式將呼叫 :func:`sys.breakpointhook` 函式,並將 ``args`` 和 ``kws`` 傳遞"
530
+ "給它。這將有效地讓你在特定的呼叫點進入除錯器。預設情況下,``sys."
531
+ "breakpointhook()`` 呼叫 :func:`pdb.set_trace()` 不須帶任何引數。這樣的設計是"
532
+ "為了方便使用者,讓他們不需要額外地導入 :mod:`pdb` 模組或輸入太多程式就可以進"
533
+ "入除錯器。然而,可以將 :func:`sys.breakpointhook` 設置為其他函式,並且 :func:"
534
+ "`breakpoint` 將自動呼叫該函式,讓你進入所選擇的除錯器。如果無法存取 :func:"
535
+ "`sys.breakpointhook` 這個函式,則此函式將引發 :exc:`RuntimeError`。"
522
536
523
537
#: ../../library/functions.rst:172
524
538
msgid ""
525
539
"By default, the behavior of :func:`breakpoint` can be changed with the :"
526
540
"envvar:`PYTHONBREAKPOINT` environment variable. See :func:`sys."
527
541
"breakpointhook` for usage details."
528
542
msgstr ""
543
+ "預設情況下,:func:`breakpoint` 的行為可以通過 :envvar:`PYTHONBREAKPOINT` 環境"
544
+ "變數來更改。有關使用詳情,請參考 :func:`sys.breakpointhook`。"
529
545
530
546
#: ../../library/functions.rst:176
531
547
msgid ""
532
548
"Note that this is not guaranteed if :func:`sys.breakpointhook` has been "
533
549
"replaced."
534
- msgstr ""
550
+ msgstr "請注意,如果 :func:`sys.breakpointhook` 被替換了,則無法保證此功能。 "
535
551
536
552
#: ../../library/functions.rst:179
537
553
msgid ""
@@ -1162,8 +1178,8 @@ msgid ""
1162
1178
"Raises an :ref:`auditing event <auditing>` ``exec`` with the code object as "
1163
1179
"the argument. Code compilation events may also be raised."
1164
1180
msgstr ""
1165
- "引發一個附帶程式碼物件為引數的\\ :ref:`稽核事件 <auditing>` ``exec``。也可能會 "
1166
- "引發程式碼編譯事件 。"
1181
+ "引發一個附帶程式碼物件為引數的\\ :ref:`稽核事件 <auditing>` ``exec``。也可能 "
1182
+ "會引發程式碼編譯事件 。"
1167
1183
1168
1184
#: ../../library/functions.rst:580
1169
1185
msgid ""
@@ -1465,8 +1481,8 @@ msgid ""
1465
1481
"For objects with custom :meth:`~object.__hash__` methods, note that :func:"
1466
1482
"`hash` truncates the return value based on the bit width of the host machine."
1467
1483
msgstr ""
1468
- "請注意,如果物件帶有自訂的 :meth:`~object.__hash__` 方法,:func:"
1469
- "`hash` 將根據運行機器的位元長度來截斷回傳值 。"
1484
+ "請注意,如果物件帶有自訂的 :meth:`~object.__hash__` 方法,:func:`hash` 將根據 "
1485
+ "運行機器的位元長度來截斷回傳值 。"
1470
1486
1471
1487
#: ../../library/functions.rst:805
1472
1488
msgid ""
0 commit comments