Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3bf5b37

Browse files
sync with cpython 41e8e155
1 parentf219ce3 commit3bf5b37

File tree

15 files changed

+1096
-809
lines changed

15 files changed

+1096
-809
lines changed

‎c-api/exceptions.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.12\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2023-08-23 00:03+0000\n"
11+
"POT-Creation-Date:2023-10-03 00:03+0000\n"
1212
"PO-Revision-Date:2018-05-23 14:05+0000\n"
1313
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -809,8 +809,8 @@ msgstr ""
809809
msgid""
810810
"Implement part of the interpreter's implementation of :keyword:`!except*`. "
811811
"*orig* is the original exception that was caught, and *excs* is the list of "
812-
"the exceptions that need to be raised. This list contains thetheunhandled "
813-
"partof *orig*, if any, as well as the exceptions that were raised from the :"
812+
"the exceptions that need to be raised. This list contains the unhandled part "
813+
"of *orig*, if any, as well as the exceptions that were raised from the :"
814814
"keyword:`!except*` clauses (so they have a different traceback from *orig*) "
815815
"and those that were reraised (and have the same traceback as *orig*). Return "
816816
"the :exc:`ExceptionGroup` that needs to be reraised in the end, or ``None`` "

‎library/__main__.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2023-07-22 00:04+0000\n"
10+
"POT-Creation-Date:2023-10-03 00:03+0000\n"
1111
"PO-Revision-Date:2015-12-09 17:51+0000\n"
1212
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -254,10 +254,10 @@ msgstr ""
254254

255255
#:../../library/__main__.rst:241
256256
msgid""
257-
"Thecontents of ``__main__.py`` typically isn't fenced with ``if __name__ == "
258-
"'__main__'``blocks. Instead, those files are kept short, functions to "
259-
"execute from other modules. Those other modules can then beeasily unit-"
260-
"tested and are properly reusable."
257+
"Thecontent of ``__main__.py`` typically isn't fenced withan``if __name__ "
258+
"=='__main__'``block. Instead, those files are kept short and import "
259+
"functions toexecute from other modules. Those other modules can then be "
260+
"easily unit-tested and are properly reusable."
261261
msgstr""
262262

263263
#:../../library/__main__.rst:246

‎library/asyncio-llapi-index.po

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.12\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2022-12-07 00:17+0000\n"
11+
"POT-Creation-Date:2023-10-03 00:03+0000\n"
1212
"PO-Revision-Date:2022-02-09 11:27+0800\n"
1313
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -989,40 +989,41 @@ msgid "Subprocess Protocols"
989989
msgstr"子行程協定"
990990

991991
#:../../library/asyncio-llapi-index.rst:487
992-
msgid""
993-
"``callback`` :meth:`pipe_data_received() <SubprocessProtocol."
994-
"pipe_data_received>`"
992+
#,fuzzy
993+
msgid"``callback`` :meth:`~SubprocessProtocol.pipe_data_received`"
995994
msgstr""
996995
"``callback`` :meth:`pipe_data_received() <SubprocessProtocol."
997996
"pipe_data_received>`"
998997

999-
#:../../library/asyncio-llapi-index.rst:489
998+
#:../../library/asyncio-llapi-index.rst:488
1000999
msgid""
10011000
"Called when the child process writes data into its *stdout* or *stderr* pipe."
10021001
msgstr"在子行程向 *stdout* 或 *stderr* pipe 寫入資料時被呼叫。"
10031002

1004-
#:../../library/asyncio-llapi-index.rst:492
1005-
msgid""
1006-
"``callback`` :meth:`pipe_connection_lost() <SubprocessProtocol."
1007-
"pipe_connection_lost>`"
1003+
#:../../library/asyncio-llapi-index.rst:491
1004+
#,fuzzy
1005+
msgid"``callback`` :meth:`~SubprocessProtocol.pipe_connection_lost`"
10081006
msgstr""
10091007
"``callback`` :meth:`pipe_connection_lost() <SubprocessProtocol."
10101008
"pipe_connection_lost>`"
10111009

1012-
#:../../library/asyncio-llapi-index.rst:494
1010+
#:../../library/asyncio-llapi-index.rst:492
10131011
msgid""
10141012
"Called when one of the pipes communicating with the child process is closed."
10151013
msgstr"在與子行程通訊的其中一個 pipes 關閉時被呼叫。"
10161014

1017-
#:../../library/asyncio-llapi-index.rst:497
1015+
#:../../library/asyncio-llapi-index.rst:495
10181016
msgid""
10191017
"``callback`` :meth:`process_exited() <SubprocessProtocol.process_exited>`"
10201018
msgstr""
10211019
"``callback`` :meth:`process_exited() <SubprocessProtocol.process_exited>`"
10221020

1023-
#:../../library/asyncio-llapi-index.rst:499
1024-
msgid"Called when the child process has exited."
1025-
msgstr"在子行程退出後被呼叫。"
1021+
#:../../library/asyncio-llapi-index.rst:497
1022+
msgid""
1023+
"Called when the child process has exited. It can be called before :meth:"
1024+
"`~SubprocessProtocol.pipe_data_received` and :meth:`~SubprocessProtocol."
1025+
"pipe_connection_lost` methods."
1026+
msgstr""
10261027

10271028
#:../../library/asyncio-llapi-index.rst:503
10281029
msgid"Event Loop Policies"
@@ -1064,3 +1065,6 @@ msgstr ":class:`AbstractEventLoopPolicy`"
10641065
#:../../library/asyncio-llapi-index.rst:523
10651066
msgid"Base class for policy objects."
10661067
msgstr"Policy 物件的基礎類別。"
1068+
1069+
#~ msgid "Called when the child process has exited."
1070+
#~ msgstr "在子行程退出後被呼叫。"

‎library/asyncio-protocol.po

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2022-10-31 08:13+0000\n"
10+
"POT-Creation-Date:2023-10-03 00:03+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-"
@@ -931,101 +931,107 @@ msgstr ""
931931
msgid"Called when the child process has exited."
932932
msgstr""
933933

934-
#:../../library/asyncio-protocol.rst:713
934+
#:../../library/asyncio-protocol.rst:711
935+
msgid""
936+
"It can be called before :meth:`~SubprocessProtocol.pipe_data_received` and :"
937+
"meth:`~SubprocessProtocol.pipe_connection_lost` methods."
938+
msgstr""
939+
940+
#:../../library/asyncio-protocol.rst:716
935941
msgid"Examples"
936942
msgstr"範例"
937943

938-
#:../../library/asyncio-protocol.rst:718
944+
#:../../library/asyncio-protocol.rst:721
939945
msgid"TCP Echo Server"
940946
msgstr""
941947

942-
#:../../library/asyncio-protocol.rst:720
948+
#:../../library/asyncio-protocol.rst:723
943949
msgid""
944950
"Create a TCP echo server using the :meth:`loop.create_server` method, send "
945951
"back received data, and close the connection::"
946952
msgstr""
947953

948-
#:../../library/asyncio-protocol.rst:761
954+
#:../../library/asyncio-protocol.rst:764
949955
msgid""
950956
"The :ref:`TCP echo server using streams <asyncio-tcp-echo-server-streams>` "
951957
"example uses the high-level :func:`asyncio.start_server` function."
952958
msgstr""
953959

954-
#:../../library/asyncio-protocol.rst:767
960+
#:../../library/asyncio-protocol.rst:770
955961
msgid"TCP Echo Client"
956962
msgstr""
957963

958-
#:../../library/asyncio-protocol.rst:769
964+
#:../../library/asyncio-protocol.rst:772
959965
msgid""
960966
"A TCP echo client using the :meth:`loop.create_connection` method, sends "
961967
"data, and waits until the connection is closed::"
962968
msgstr""
963969

964-
#:../../library/asyncio-protocol.rst:817
970+
#:../../library/asyncio-protocol.rst:820
965971
msgid""
966972
"The :ref:`TCP echo client using streams <asyncio-tcp-echo-client-streams>` "
967973
"example uses the high-level :func:`asyncio.open_connection` function."
968974
msgstr""
969975

970-
#:../../library/asyncio-protocol.rst:824
976+
#:../../library/asyncio-protocol.rst:827
971977
msgid"UDP Echo Server"
972978
msgstr""
973979

974-
#:../../library/asyncio-protocol.rst:826
980+
#:../../library/asyncio-protocol.rst:829
975981
msgid""
976982
"A UDP echo server, using the :meth:`loop.create_datagram_endpoint` method, "
977983
"sends back received data::"
978984
msgstr""
979985

980-
#:../../library/asyncio-protocol.rst:868
986+
#:../../library/asyncio-protocol.rst:871
981987
msgid"UDP Echo Client"
982988
msgstr""
983989

984-
#:../../library/asyncio-protocol.rst:870
990+
#:../../library/asyncio-protocol.rst:873
985991
msgid""
986992
"A UDP echo client, using the :meth:`loop.create_datagram_endpoint` method, "
987993
"sends data and closes the transport when it receives the answer::"
988994
msgstr""
989995

990-
#:../../library/asyncio-protocol.rst:925
996+
#:../../library/asyncio-protocol.rst:928
991997
msgid"Connecting Existing Sockets"
992998
msgstr""
993999

994-
#:../../library/asyncio-protocol.rst:927
1000+
#:../../library/asyncio-protocol.rst:930
9951001
msgid""
9961002
"Wait until a socket receives data using the :meth:`loop.create_connection` "
9971003
"method with a protocol::"
9981004
msgstr""
9991005

1000-
#:../../library/asyncio-protocol.rst:981
1006+
#:../../library/asyncio-protocol.rst:984
10011007
msgid""
10021008
"The :ref:`watch a file descriptor for read events "
10031009
"<asyncio_example_watch_fd>` example uses the low-level :meth:`loop."
10041010
"add_reader` method to register an FD."
10051011
msgstr""
10061012

1007-
#:../../library/asyncio-protocol.rst:985
1013+
#:../../library/asyncio-protocol.rst:988
10081014
msgid""
10091015
"The :ref:`register an open socket to wait for data using streams "
10101016
"<asyncio_example_create_connection-streams>` example uses high-level streams "
10111017
"created by the :func:`open_connection` function in a coroutine."
10121018
msgstr""
10131019

1014-
#:../../library/asyncio-protocol.rst:992
1020+
#:../../library/asyncio-protocol.rst:995
10151021
msgid"loop.subprocess_exec() and SubprocessProtocol"
10161022
msgstr""
10171023

1018-
#:../../library/asyncio-protocol.rst:994
1024+
#:../../library/asyncio-protocol.rst:997
10191025
msgid""
10201026
"An example of a subprocess protocol used to get the output of a subprocess "
10211027
"and to wait for the subprocess exit."
10221028
msgstr""
10231029

1024-
#:../../library/asyncio-protocol.rst:997
1030+
#:../../library/asyncio-protocol.rst:1000
10251031
msgid"The subprocess is created by the :meth:`loop.subprocess_exec` method::"
10261032
msgstr""
10271033

1028-
#:../../library/asyncio-protocol.rst:1043
1034+
#:../../library/asyncio-protocol.rst:1060
10291035
msgid""
10301036
"See also the :ref:`same example <asyncio_example_create_subprocess_exec>` "
10311037
"written using high-level APIs."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp