Skip to content

Commit 1d7f56c

Browse files
committed
fix library/function by review translate-1
1 parent 882a786 commit 1d7f56c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

library/functions.po

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Project-Id-Version: Python 3.12\n"
1111
"Report-Msgid-Bugs-To: \n"
1212
"POT-Creation-Date: 2024-02-26 00:03+0000\n"
13-
"PO-Revision-Date: 2024-05-02 11:56+0800\n"
13+
"PO-Revision-Date: 2024-05-02 18:41+0800\n"
1414
"Last-Translator: KNChiu <[email protected]>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1616
"tw)\n"
@@ -410,12 +410,12 @@ msgid ""
410410
"Return an :term:`asynchronous iterator` for an :term:`asynchronous "
411411
"iterable`. Equivalent to calling ``x.__aiter__()``."
412412
msgstr ""
413-
"回傳 :term:`asynchronous iterator` 的 :term:`asynchronous iterable`。相當於呼"
414-
"叫 ``x.__aiter__()``。"
413+
"回傳 :term:`非同步疊代器 <asynchronous iterator>` 做為 :term:`非同步可疊代物"
414+
"件 <asynchronous iterable>`。相當於呼叫 x.__aiter__()。"
415415

416416
#: ../../library/functions.rst:70
417417
msgid "Note: Unlike :func:`iter`, :func:`aiter` has no 2-argument variant."
418-
msgstr "注意:與 :func:`iter` 不同, :func:`aiter` 沒有兩個參數的版本。"
418+
msgstr "注意:與 :func:`iter` 不同:func:`aiter` 沒有兩個引數的變體。"
419419

420420
#: ../../library/functions.rst:76
421421
msgid ""
@@ -438,7 +438,7 @@ msgstr ""
438438
#: ../../library/functions.rst:92
439439
msgid ""
440440
"This is the async variant of the :func:`next` builtin, and behaves similarly."
441-
msgstr "這是內建函式 :func:`next` 的非同步版本,類似於:"
441+
msgstr "這是內建函式 :func:`next` 的非同步版本,其行為類似於:"
442442

443443
#: ../../library/functions.rst:95
444444
msgid ""
@@ -447,7 +447,7 @@ msgid ""
447447
"iterator. If *default* is given, it is returned if the iterator is "
448448
"exhausted, otherwise :exc:`StopAsyncIteration` is raised."
449449
msgstr ""
450-
"呼叫 *async_iterator* 的 :meth:`~object.__anext__` 方法,返回 :term:"
450+
"呼叫 *async_iterator* 的 :meth:`~object.__anext__` 方法,回傳 :term:"
451451
"`awaitable`。等待返回疊代器的下一個值。如果指定 *default*,當疊代器結束時會返"
452452
"回該值,否則會引發 :exc:`StopAsyncIteration` 。"
453453

@@ -512,7 +512,7 @@ msgstr ""
512512
#: ../../library/functions.rst:155 ../../library/functions.rst:710
513513
#: ../../library/functions.rst:934
514514
msgid "*x* is now a positional-only parameter."
515-
msgstr "*x* 現在僅限位置參數。"
515+
msgstr "*x* 現在為僅限位置參數。"
516516

517517
#: ../../library/functions.rst:160
518518
msgid ""
@@ -526,13 +526,13 @@ msgid ""
526526
"you to drop into the debugger of choice. If :func:`sys.breakpointhook` is "
527527
"not accessible, this function will raise :exc:`RuntimeError`."
528528
msgstr ""
529-
"這個函數將調用 :func:`sys.breakpointhook` 函數,並將 ``args`` 和 ``kws`` 傳遞"
530-
"給它。這將有效地讓你在特定的調用點進入除錯器。預設情況下,``sys."
531-
"breakpointhook()`` 呼叫 :func:`pdb.set_trace()` 不須帶任何參數。這樣的設計是"
529+
"這個函式將呼叫 :func:`sys.breakpointhook` 函式,並將 ``args`` 和 ``kws`` 傳遞"
530+
"給它。這將有效地讓你在特定的呼叫點進入除錯器。預設情況下,``sys."
531+
"breakpointhook()`` 呼叫 :func:`pdb.set_trace()` 不須帶任何引數。這樣的設計是"
532532
"為了方便使用者,讓他們不需要額外地導入 :mod:`pdb` 模組或輸入太多程式就可以進"
533-
"入除錯器。然而,可以將 :func:`sys.breakpointhook` 設置為其他函數,並且 :func:"
534-
"`breakpoint` 將自動調用該函數,讓你進入所選擇的調試器。如果無法存取 :func:"
535-
"`sys.breakpointhook` 這個函數,則此函數將引發 :exc:`RuntimeError`。"
533+
"入除錯器。然而,可以將 :func:`sys.breakpointhook` 設置為其他函式,並且 :func:"
534+
"`breakpoint` 將自動呼叫該函式,讓你進入所選擇的除錯器。如果無法存取 :func:"
535+
"`sys.breakpointhook` 這個函式,則此函式將引發 :exc:`RuntimeError`。"
536536

537537
#: ../../library/functions.rst:172
538538
msgid ""

0 commit comments

Comments
 (0)