File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2114,32 +2114,32 @@ msgstr ""
21142114msgid ""
21152115"Set the :ref:`inheritable flag <fd_inheritance>` of the socket's file "
21162116"descriptor or socket's handle."
2117- msgstr ""
2117+ msgstr "设置套接字文件描述符或套接字句柄的 :ref:`可继承标志 <fd_inheritance>`。 "
21182118
21192119#: ../../library/socket.rst:1598
21202120msgid ""
21212121"Set blocking or non-blocking mode of the socket: if *flag* is false, the "
21222122"socket is set to non-blocking, else to blocking mode."
2123- msgstr ""
2123+ msgstr "设置套接字为阻塞或非阻塞模式:如果 *flag* 为 false,则将套接字设置为非阻塞,否则设置为阻塞。 "
21242124
21252125#: ../../library/socket.rst:1601
21262126msgid ""
21272127"This method is a shorthand for certain :meth:`~socket.settimeout` calls:"
2128- msgstr ""
2128+ msgstr "本方法是某些 :meth:`~socket.settimeout` 调用的简写: "
21292129
21302130#: ../../library/socket.rst:1603
21312131msgid "``sock.setblocking(True)`` is equivalent to ``sock.settimeout(None)``"
2132- msgstr ""
2132+ msgstr "``sock.setblocking(True)`` 相当于 ``sock.settimeout(None)`` "
21332133
21342134#: ../../library/socket.rst:1605
21352135msgid "``sock.setblocking(False)`` is equivalent to ``sock.settimeout(0.0)``"
2136- msgstr ""
2136+ msgstr "``sock.setblocking(False)`` 相当于 ``sock.settimeout(0.0)`` "
21372137
21382138#: ../../library/socket.rst:1607
21392139msgid ""
21402140"The method no longer applies :const:`SOCK_NONBLOCK` flag on "
21412141":attr:`socket.type`."
2142- msgstr ""
2142+ msgstr "本方法不再对 :attr:`socket.type` 属性设置 :const:`SOCK_NONBLOCK` 标志。 "
21432143
21442144#: ../../library/socket.rst:1614
21452145msgid ""
You can’t perform that action at this time.
0 commit comments