Skip to content

Commit 4938b4a

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython ce091c96
1 parent d156382 commit 4938b4a

File tree

4 files changed

+611
-589
lines changed

4 files changed

+611
-589
lines changed

glossary.po

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
11+
"POT-Creation-Date: 2023-06-29 00:19+0000\n"
1212
"PO-Revision-Date: 2022-10-23 20:00+0800\n"
1313
"Last-Translator: Steven Hsu <hsuhaochun@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -128,8 +128,9 @@ msgid ""
128128
"in the :attr:`__annotations__` special attribute of modules, classes, and "
129129
"functions, respectively."
130130
msgstr ""
131-
"在執行環境 (runtime),區域變數的註釋無法被存取,但全域變數、class 屬性和函式的"
132-
"註解,會分別被儲存在模組、class 和函式的 :attr:`__annotations__` 特殊屬性中。"
131+
"在執行環境 (runtime),區域變數的註釋無法被存取,但全域變數、class 屬性和函式"
132+
"的註解,會分別被儲存在模組、class 和函式的 :attr:`__annotations__` 特殊屬性"
133+
"中。"
133134

134135
#: ../../glossary.rst:58
135136
msgid ""
@@ -205,10 +206,11 @@ msgid "asynchronous context manager"
205206
msgstr "asynchronous context manager(非同步情境管理器)"
206207

207208
#: ../../glossary.rst:94
209+
#, fuzzy
208210
msgid ""
209211
"An object which controls the environment seen in an :keyword:`async with` "
210-
"statement by defining :meth:`__aenter__` and :meth:`__aexit__` methods. "
211-
"Introduced by :pep:`492`."
212+
"statement by defining :meth:`~object.__aenter__` and :meth:`~object."
213+
"__aexit__` methods. Introduced by :pep:`492`."
212214
msgstr ""
213215
"一個可以控制 :keyword:`async with` 陳述式中所見環境的物件,而它是透過定義 :"
214216
"meth:`__aenter__` 和 :meth:`__aexit__` method(方法)來控制的。由 :pep:`492` "
@@ -258,23 +260,25 @@ msgstr ""
258260
"一個由 :term:`asynchronous generator`\\ (非同步產生器)函式所建立的物件。"
259261

260262
#: ../../glossary.rst:115
263+
#, fuzzy
261264
msgid ""
262265
"This is an :term:`asynchronous iterator` which when called using the :meth:"
263-
"`__anext__` method returns an awaitable object which will execute the body "
264-
"of the asynchronous generator function until the next :keyword:`yield` "
265-
"expression."
266+
"`~object.__anext__` method returns an awaitable object which will execute "
267+
"the body of the asynchronous generator function until the next :keyword:"
268+
"`yield` expression."
266269
msgstr ""
267270
"這是一個 :term:`asynchronous iterator`\\ (非同步疊代器),當它以 :meth:"
268271
"`__anext__` method 被呼叫時,會回傳一個可等待物件 (awaitable object),該物件"
269272
"將執行非同步產生器的函式主體,直到遇到下一個 :keyword:`yield` 運算式。"
270273

271274
#: ../../glossary.rst:120
275+
#, fuzzy
272276
msgid ""
273277
"Each :keyword:`yield` temporarily suspends processing, remembering the "
274278
"location execution state (including local variables and pending try-"
275279
"statements). When the *asynchronous generator iterator* effectively resumes "
276-
"with another awaitable returned by :meth:`__anext__`, it picks up where it "
277-
"left off. See :pep:`492` and :pep:`525`."
280+
"with another awaitable returned by :meth:`~object.__anext__`, it picks up "
281+
"where it left off. See :pep:`492` and :pep:`525`."
278282
msgstr ""
279283
"每個 :keyword:`yield` 會暫停處理程序,並記住位置執行狀態(包括區域變數及擱置"
280284
"中的 try 陳述式)。當\\ *非同步產生器疊代器*\\ 以另一個被 :meth:`__anext__` "
@@ -286,10 +290,11 @@ msgid "asynchronous iterable"
286290
msgstr "asynchronous iterable(非同步可疊代物件)"
287291

288292
#: ../../glossary.rst:127
293+
#, fuzzy
289294
msgid ""
290295
"An object, that can be used in an :keyword:`async for` statement. Must "
291-
"return an :term:`asynchronous iterator` from its :meth:`__aiter__` method. "
292-
"Introduced by :pep:`492`."
296+
"return an :term:`asynchronous iterator` from its :meth:`~object.__aiter__` "
297+
"method. Introduced by :pep:`492`."
293298
msgstr ""
294299
"一個物件,它可以在 :keyword:`async for` 陳述式中被使用。必須從它的 :meth:"
295300
"`__aiter__` method 回傳一個 :term:`asynchronous iterator`\\ (非同步疊代"
@@ -300,12 +305,13 @@ msgid "asynchronous iterator"
300305
msgstr "asynchronous iterator(非同步疊代器)"
301306

302307
#: ../../glossary.rst:132
308+
#, fuzzy
303309
msgid ""
304-
"An object that implements the :meth:`__aiter__` and :meth:`__anext__` "
305-
"methods. ``__anext__`` must return an :term:`awaitable` object. :keyword:"
306-
"`async for` resolves the awaitables returned by an asynchronous iterator's :"
307-
"meth:`__anext__` method until it raises a :exc:`StopAsyncIteration` "
308-
"exception. Introduced by :pep:`492`."
310+
"An object that implements the :meth:`~object.__aiter__` and :meth:`~object."
311+
"__anext__` methods. :meth:`~object.__anext__` must return an :term:"
312+
"`awaitable` object. :keyword:`async for` resolves the awaitables returned by "
313+
"an asynchronous iterator's :meth:`~object.__anext__` method until it raises "
314+
"a :exc:`StopAsyncIteration` exception. Introduced by :pep:`492`."
309315
msgstr ""
310316
"一個實作 :meth:`__aiter__` 和 :meth:`__anext__` method 的物件。\\ "
311317
"``__anext__`` 必須回傳一個 :term:`awaitable`\\ (可等待物件)。\\ :keyword:"
@@ -342,10 +348,11 @@ msgid "awaitable"
342348
msgstr "awaitable(可等待物件)"
343349

344350
#: ../../glossary.rst:151
351+
#, fuzzy
345352
msgid ""
346353
"An object that can be used in an :keyword:`await` expression. Can be a :"
347-
"term:`coroutine` or an object with an :meth:`__await__` method. See also :"
348-
"pep:`492`."
354+
"term:`coroutine` or an object with an :meth:`~object.__await__` method. See "
355+
"also :pep:`492`."
349356
msgstr ""
350357
"一個可以在 :keyword:`await` 運算式中被使用的物件。它可以是一個 :term:"
351358
"`coroutine`\\ (協程),或是一個有 :meth:`__await__` method 的物件。另請參"

0 commit comments

Comments
 (0)