Skip to content

Commit 9470c9c

Browse files
Copilotmattwang44
andcommitted
fix: address review feedback on asyncio-graph.po translation
Agent-Logs-Url: https://github.com/python/python-docs-zh-tw/sessions/d457961b-6fd9-4f61-bb43-c2454d18e40c Co-authored-by: mattwang44 <24987826+mattwang44@users.noreply.github.com>
1 parent 1c64887 commit 9470c9c

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

library/asyncio-graph.po

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgstr ""
1919

2020
#: ../../library/asyncio-graph.rst:8
2121
msgid "Call Graph Introspection"
22-
msgstr "呼叫圖內省(Graph Introspection)"
22+
msgstr "呼叫圖內省(Call Graph Introspection)"
2323

2424
#: ../../library/asyncio-graph.rst:10
2525
msgid "**Source code:** :source:`Lib/asyncio/graph.py`"
@@ -32,9 +32,9 @@ msgid ""
3232
"*future*. These utilities and the underlying machinery can be used from "
3333
"within a Python program or by external profilers and debuggers."
3434
msgstr ""
35-
"asyncio 擁有強大的執行期呼叫圖內省工具,可以追蹤執行中的\\ *協程*\\\\ "
36-
"*任務*\\ ,或是暫停的\\ *future*\\ 的完整呼叫圖。這些工具和底層機制可以在 "
37-
"Python 程式內部使用,或被外部分析器和除錯器使用。"
35+
"asyncio 擁有強大的 runtime 呼叫圖內省工具,可以追蹤執行中的\\ *協程*\\\\ "
36+
"*任務*,或是暫停的 *future* 的完整呼叫圖。這些工具和底層機制可以在 "
37+
"Python 程式內部使用,或被外部分析器和偵錯器使用。"
3838

3939
#: ../../library/asyncio-graph.rst:25
4040
msgid ""
@@ -47,7 +47,7 @@ msgstr ""
4747
msgid ""
4848
"This function prints entries starting from the top frame and going down "
4949
"towards the invocation point."
50-
msgstr "此函式會從頂層框架開始印出條目,然後往下到呼叫點。"
50+
msgstr "此函式會從頂層框架(frame)開始印出條目,然後往下到呼叫點。"
5151

5252
#: ../../library/asyncio-graph.rst:31
5353
msgid ""
@@ -62,8 +62,8 @@ msgid ""
6262
"*depth* argument can be used to skip the specified number of frames from top "
6363
"of the stack."
6464
msgstr ""
65-
"如果在\\ *當前任務*\\ 上呼叫此函式,可以使用選擇性的僅限關鍵字引數 *depth* "
66-
"來跳過堆疊頂端指定數量的框架(frames)。"
65+
"如果在\\ *目前任務*\\ 上呼叫此函式,可以使用選擇性的僅限關鍵字引數 *depth* "
66+
"來跳過堆疊頂端指定數量的框架。"
6767

6868
#: ../../library/asyncio-graph.rst:38
6969
msgid ""
@@ -75,18 +75,18 @@ msgid ""
7575
"``0``, the call stack is not printed at all, only \"awaited by\" information "
7676
"is printed."
7777
msgstr ""
78-
"如果提供了選擇性的僅限關鍵字引數 *limit*\\ ,結果圖中的每個呼叫堆疊會被截斷"
78+
"如果提供了選擇性的僅限關鍵字引數 *limit*,結果圖中的每個呼叫堆疊會被截斷"
7979
"為最多包含 ``abs(limit)`` 個條目。如果 *limit* 為正數,保留的條目是最接近呼"
8080
"叫點的。如果 *limit* 為負數,保留最頂層的條目。如果 *limit* 被省略或為 "
81-
"``None``\\ ,則顯示所有條目。如果 *limit* 為 ``0``\\ ,則完全不印出呼叫堆"
81+
"``None``,則顯示所有條目。如果 *limit* 為 ``0``,則完全不印出呼叫堆"
8282
"疊,只印出「awaited by」資訊。"
8383

8484
#: ../../library/asyncio-graph.rst:46
8585
msgid ""
8686
"If *file* is omitted or ``None``, the function will print "
8787
"to :data:`sys.stdout`."
8888
msgstr ""
89-
"如果 *file* 被省略或為 ``None``\\ ,此函式將印出到 :data:`sys.stdout`\\ 。"
89+
"如果 *file* 被省略或為 ``None``,此函式將印出到 :data:`sys.stdout`。"
9090

9191
#: ../../library/asyncio-graph.rst:49
9292
msgid "**Example:**"
@@ -149,24 +149,24 @@ msgid ""
149149
"Like :func:`print_call_graph`, but returns a string. If *future* is ``None`` "
150150
"and there's no current task, the function returns an empty string."
151151
msgstr ""
152-
"類似於 :func:`print_call_graph`\\ ,但回傳一個字串。如果 *future* 為 "
153-
"``None`` 且沒有當前任務,此函式回傳一個空字串。"
152+
"類似於 :func:`print_call_graph`,但回傳一個字串。如果 *future* 為 "
153+
"``None`` 且沒有目前任務,此函式回傳一個空字串。"
154154

155155
#: ../../library/asyncio-graph.rst:86
156156
msgid ""
157157
"Capture the async call graph for the current task or the "
158158
"provided :class:`Task` or :class:`Future`."
159159
msgstr ""
160-
"捕獲當前任務或所提供的 :class:`Task` 或 :class:`Future` 的非同步呼叫圖。"
160+
"捕獲目前任務或所提供的 :class:`Task` 或 :class:`Future` 的非同步呼叫圖。"
161161

162162
#: ../../library/asyncio-graph.rst:89
163163
msgid ""
164164
"The function receives an optional *future* argument. If not passed, the "
165165
"current running task will be used. If there's no current task, the function "
166166
"returns ``None``."
167167
msgstr ""
168-
"此函式接受一個選擇性的 *future* 引數。如果未傳入,將使用當前執行中的任務。"
169-
"如果沒有當前任務,此函式回傳 ``None``\\ 。"
168+
"此函式接受一個選擇性的 *future* 引數。如果未傳入,將使用目前執行中的任務。"
169+
"如果沒有目前任務,此函式回傳 ``None``。"
170170

171171
#: ../../library/asyncio-graph.rst:97
172172
msgid "Returns a ``FutureCallGraph`` data class object:"
@@ -217,8 +217,8 @@ msgid ""
217217
"tasks they wrap or control."
218218
msgstr ""
219219
"要內省非同步呼叫圖,asyncio 需要來自控制流程結構的協作,例如 :func:`shield` "
220-
"或 :class:`TaskGroup`\\ 。任何時候涉及使用低階 API(如 :meth:`Future."
221-
"add_done_callback() <asyncio.Future.add_done_callback>`\\ )的中介 :class:"
220+
"或 :class:`TaskGroup`。任何時候涉及使用低階 API(如 :meth:`Future."
221+
"add_done_callback() <asyncio.Future.add_done_callback>`)的中介 :class:"
222222
"`Future` 物件時,應使用以下兩個函式來告知 asyncio 這些中介 future 物件如何"
223223
"與它們所包裝或控制的任務連接。"
224224

0 commit comments

Comments
 (0)