Skip to content

Commit ed56d70

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 2cce4654
1 parent 9082826 commit ed56d70

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

library/asyncio-task.po

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
10+
"POT-Creation-Date: 2023-06-28 07:22+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:39+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -564,20 +564,19 @@ msgstr ""
564564
msgid ""
565565
"If ``long_running_task`` takes more than 10 seconds to complete, the context "
566566
"manager will cancel the current task and handle the resulting :exc:`asyncio."
567-
"CancelledError` internally, transforming it into an :exc:`asyncio."
568-
"TimeoutError` which can be caught and handled."
567+
"CancelledError` internally, transforming it into a :exc:`TimeoutError` which "
568+
"can be caught and handled."
569569
msgstr ""
570570

571571
#: ../../library/asyncio-task.rst:608
572572
msgid ""
573573
"The :func:`asyncio.timeout` context manager is what transforms the :exc:"
574-
"`asyncio.CancelledError` into an :exc:`asyncio.TimeoutError`, which means "
575-
"the :exc:`asyncio.TimeoutError` can only be caught *outside* of the context "
576-
"manager."
574+
"`asyncio.CancelledError` into a :exc:`TimeoutError`, which means the :exc:"
575+
"`TimeoutError` can only be caught *outside* of the context manager."
577576
msgstr ""
578577

579578
#: ../../library/asyncio-task.rst:613
580-
msgid "Example of catching :exc:`asyncio.TimeoutError`::"
579+
msgid "Example of catching :exc:`TimeoutError`::"
581580
msgstr ""
582581

583582
#: ../../library/asyncio-task.rst:624

0 commit comments

Comments
 (0)