|
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: Python 3.12\n" |
9 | 9 | "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" |
11 | 11 | "PO-Revision-Date: 2018-05-23 14:39+0000\n" |
12 | 12 | "Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n" |
13 | 13 | "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" |
@@ -931,101 +931,107 @@ msgstr "" |
931 | 931 | msgid "Called when the child process has exited." |
932 | 932 | msgstr "" |
933 | 933 |
|
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 |
935 | 941 | msgid "Examples" |
936 | 942 | msgstr "範例" |
937 | 943 |
|
938 | | -#: ../../library/asyncio-protocol.rst:718 |
| 944 | +#: ../../library/asyncio-protocol.rst:721 |
939 | 945 | msgid "TCP Echo Server" |
940 | 946 | msgstr "" |
941 | 947 |
|
942 | | -#: ../../library/asyncio-protocol.rst:720 |
| 948 | +#: ../../library/asyncio-protocol.rst:723 |
943 | 949 | msgid "" |
944 | 950 | "Create a TCP echo server using the :meth:`loop.create_server` method, send " |
945 | 951 | "back received data, and close the connection::" |
946 | 952 | msgstr "" |
947 | 953 |
|
948 | | -#: ../../library/asyncio-protocol.rst:761 |
| 954 | +#: ../../library/asyncio-protocol.rst:764 |
949 | 955 | msgid "" |
950 | 956 | "The :ref:`TCP echo server using streams <asyncio-tcp-echo-server-streams>` " |
951 | 957 | "example uses the high-level :func:`asyncio.start_server` function." |
952 | 958 | msgstr "" |
953 | 959 |
|
954 | | -#: ../../library/asyncio-protocol.rst:767 |
| 960 | +#: ../../library/asyncio-protocol.rst:770 |
955 | 961 | msgid "TCP Echo Client" |
956 | 962 | msgstr "" |
957 | 963 |
|
958 | | -#: ../../library/asyncio-protocol.rst:769 |
| 964 | +#: ../../library/asyncio-protocol.rst:772 |
959 | 965 | msgid "" |
960 | 966 | "A TCP echo client using the :meth:`loop.create_connection` method, sends " |
961 | 967 | "data, and waits until the connection is closed::" |
962 | 968 | msgstr "" |
963 | 969 |
|
964 | | -#: ../../library/asyncio-protocol.rst:817 |
| 970 | +#: ../../library/asyncio-protocol.rst:820 |
965 | 971 | msgid "" |
966 | 972 | "The :ref:`TCP echo client using streams <asyncio-tcp-echo-client-streams>` " |
967 | 973 | "example uses the high-level :func:`asyncio.open_connection` function." |
968 | 974 | msgstr "" |
969 | 975 |
|
970 | | -#: ../../library/asyncio-protocol.rst:824 |
| 976 | +#: ../../library/asyncio-protocol.rst:827 |
971 | 977 | msgid "UDP Echo Server" |
972 | 978 | msgstr "" |
973 | 979 |
|
974 | | -#: ../../library/asyncio-protocol.rst:826 |
| 980 | +#: ../../library/asyncio-protocol.rst:829 |
975 | 981 | msgid "" |
976 | 982 | "A UDP echo server, using the :meth:`loop.create_datagram_endpoint` method, " |
977 | 983 | "sends back received data::" |
978 | 984 | msgstr "" |
979 | 985 |
|
980 | | -#: ../../library/asyncio-protocol.rst:868 |
| 986 | +#: ../../library/asyncio-protocol.rst:871 |
981 | 987 | msgid "UDP Echo Client" |
982 | 988 | msgstr "" |
983 | 989 |
|
984 | | -#: ../../library/asyncio-protocol.rst:870 |
| 990 | +#: ../../library/asyncio-protocol.rst:873 |
985 | 991 | msgid "" |
986 | 992 | "A UDP echo client, using the :meth:`loop.create_datagram_endpoint` method, " |
987 | 993 | "sends data and closes the transport when it receives the answer::" |
988 | 994 | msgstr "" |
989 | 995 |
|
990 | | -#: ../../library/asyncio-protocol.rst:925 |
| 996 | +#: ../../library/asyncio-protocol.rst:928 |
991 | 997 | msgid "Connecting Existing Sockets" |
992 | 998 | msgstr "" |
993 | 999 |
|
994 | | -#: ../../library/asyncio-protocol.rst:927 |
| 1000 | +#: ../../library/asyncio-protocol.rst:930 |
995 | 1001 | msgid "" |
996 | 1002 | "Wait until a socket receives data using the :meth:`loop.create_connection` " |
997 | 1003 | "method with a protocol::" |
998 | 1004 | msgstr "" |
999 | 1005 |
|
1000 | | -#: ../../library/asyncio-protocol.rst:981 |
| 1006 | +#: ../../library/asyncio-protocol.rst:984 |
1001 | 1007 | msgid "" |
1002 | 1008 | "The :ref:`watch a file descriptor for read events " |
1003 | 1009 | "<asyncio_example_watch_fd>` example uses the low-level :meth:`loop." |
1004 | 1010 | "add_reader` method to register an FD." |
1005 | 1011 | msgstr "" |
1006 | 1012 |
|
1007 | | -#: ../../library/asyncio-protocol.rst:985 |
| 1013 | +#: ../../library/asyncio-protocol.rst:988 |
1008 | 1014 | msgid "" |
1009 | 1015 | "The :ref:`register an open socket to wait for data using streams " |
1010 | 1016 | "<asyncio_example_create_connection-streams>` example uses high-level streams " |
1011 | 1017 | "created by the :func:`open_connection` function in a coroutine." |
1012 | 1018 | msgstr "" |
1013 | 1019 |
|
1014 | | -#: ../../library/asyncio-protocol.rst:992 |
| 1020 | +#: ../../library/asyncio-protocol.rst:995 |
1015 | 1021 | msgid "loop.subprocess_exec() and SubprocessProtocol" |
1016 | 1022 | msgstr "" |
1017 | 1023 |
|
1018 | | -#: ../../library/asyncio-protocol.rst:994 |
| 1024 | +#: ../../library/asyncio-protocol.rst:997 |
1019 | 1025 | msgid "" |
1020 | 1026 | "An example of a subprocess protocol used to get the output of a subprocess " |
1021 | 1027 | "and to wait for the subprocess exit." |
1022 | 1028 | msgstr "" |
1023 | 1029 |
|
1024 | | -#: ../../library/asyncio-protocol.rst:997 |
| 1030 | +#: ../../library/asyncio-protocol.rst:1000 |
1025 | 1031 | msgid "The subprocess is created by the :meth:`loop.subprocess_exec` method::" |
1026 | 1032 | msgstr "" |
1027 | 1033 |
|
1028 | | -#: ../../library/asyncio-protocol.rst:1043 |
| 1034 | +#: ../../library/asyncio-protocol.rst:1060 |
1029 | 1035 | msgid "" |
1030 | 1036 | "See also the :ref:`same example <asyncio_example_create_subprocess_exec>` " |
1031 | 1037 | "written using high-level APIs." |
|
0 commit comments