Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 125d656

Browse files
[po] auto sync
1 parent 78c8f0a commit 125d656

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

library/asyncio-eventloop.po

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,7 +1977,7 @@ msgstr ""
19771977

19781978
#: ../../library/asyncio-eventloop.rst:1381
19791979
msgid "Do not instantiate the class directly."
1980-
msgstr ""
1980+
msgstr "请不要直接实例化该类。"
19811981

19821982
#: ../../library/asyncio-eventloop.rst:1385
19831983
msgid ""
@@ -2012,7 +2012,7 @@ msgstr "服务器是被异步关闭的,使用 :meth:`wait_closed` 协程来等
20122012

20132013
#: ../../library/asyncio-eventloop.rst:1414
20142014
msgid "Return the event loop associated with the server object."
2015-
msgstr ""
2015+
msgstr "返回与服务器对象相关联的事件循环。"
20162016

20172017
#: ../../library/asyncio-eventloop.rst:1420
20182018
msgid "Start accepting connections."
@@ -2032,6 +2032,9 @@ msgid ""
20322032
"or :meth:`Server.serve_forever` can be used to make the Server start "
20332033
"accepting connections."
20342034
msgstr ""
2035+
"传给 :meth:`loop.create_server` 和 :meth:`asyncio.start_server` 的 "
2036+
"*start_serving* 仅限关键字形参允许创建不接受初始连接的 Server 对象。 在此情况下可以使用 "
2037+
"``Server.start_serving()`` 或 :meth:`Server.serve_forever` 让 Server 对象开始接受连接。"
20352038

20362039
#: ../../library/asyncio-eventloop.rst:1436
20372040
msgid ""
@@ -2055,13 +2058,14 @@ msgstr "等待 :meth:`close` 方法执行完毕。"
20552058

20562059
#: ../../library/asyncio-eventloop.rst:1472
20572060
msgid "List of :class:`socket.socket` objects the server is listening on."
2058-
msgstr ""
2061+
msgstr "服务器监听的 :class:`socket.socket` 对象列表。"
20592062

20602063
#: ../../library/asyncio-eventloop.rst:1474
20612064
msgid ""
20622065
"Prior to Python 3.7 ``Server.sockets`` used to return an internal list of "
20632066
"server sockets directly. In 3.7 a copy of that list is returned."
20642067
msgstr ""
2068+
"在 Python 3.7 之前 ``Server.sockets`` 会直接返回内部的服务器套接字列表。 在 3.7 版则会返回该列表的副本。"
20652069

20662070
#: ../../library/asyncio-eventloop.rst:1483
20672071
msgid "Event Loop Implementations"
@@ -2072,23 +2076,27 @@ msgid ""
20722076
"asyncio ships with two different event loop implementations: "
20732077
":class:`SelectorEventLoop` and :class:`ProactorEventLoop`."
20742078
msgstr ""
2079+
"asyncio 带有两种不同的事件循环实现: :class:`SelectorEventLoop` 和 "
2080+
":class:`ProactorEventLoop`。"
20752081

20762082
#: ../../library/asyncio-eventloop.rst:1488
20772083
msgid ""
20782084
"By default asyncio is configured to use :class:`SelectorEventLoop` on Unix "
20792085
"and :class:`ProactorEventLoop` on Windows."
20802086
msgstr ""
2087+
"默认情况下 asyncio 被配置为在 Unix 上使用 :class:`SelectorEventLoop` 而在 Windows 上使用 "
2088+
":class:`ProactorEventLoop`。"
20812089

20822090
#: ../../library/asyncio-eventloop.rst:1494
20832091
msgid "An event loop based on the :mod:`selectors` module."
2084-
msgstr ""
2092+
msgstr "基于 :mod:`selectors` 模块的事件循环。"
20852093

20862094
#: ../../library/asyncio-eventloop.rst:1496
20872095
msgid ""
20882096
"Uses the most efficient *selector* available for the given platform. It is "
20892097
"also possible to manually configure the exact selector implementation to be "
20902098
"used::"
2091-
msgstr ""
2099+
msgstr "使用给定平台中最高效的可用 *selector*。 也可以手动配置要使用的特定 selector::"
20922100

20932101
#: ../../library/asyncio-eventloop.rst:1508
20942102
msgid ":ref:`Availability <availability>`: Unix, Windows."
@@ -2107,10 +2115,12 @@ msgid ""
21072115
"`MSDN documentation on I/O Completion Ports <https://docs.microsoft.com/en-"
21082116
"ca/windows/desktop/FileIO/i-o-completion-ports>`_."
21092117
msgstr ""
2118+
"`有关 I/O 完成端口的 MSDN 文档 <https://docs.microsoft.com/en-"
2119+
"ca/windows/desktop/FileIO/i-o-completion-ports>`_。"
21102120

21112121
#: ../../library/asyncio-eventloop.rst:1525
21122122
msgid "Abstract base class for asyncio-compliant event loops."
2113-
msgstr ""
2123+
msgstr "asyncio 兼容事件循环的抽象基类。"
21142124

21152125
#: ../../library/asyncio-eventloop.rst:1527
21162126
msgid ""

0 commit comments

Comments
 (0)