File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1642,31 +1642,34 @@ msgid ""
16421642"Put the socket object into closed state without actually closing the "
16431643"underlying file descriptor. The file descriptor is returned, and can be "
16441644"reused for other purposes."
1645- msgstr ""
1645+ msgstr "将套接字对象置于关闭状态,而底层的文件描述符实际并不关闭。返回该文件描述符,使其可以重新用于其他目的。 "
16461646
16471647#: ../../library/socket.rst:1184
16481648msgid "Duplicate the socket."
1649- msgstr ""
1649+ msgstr "创建套接字的副本。 "
16501650
16511651#: ../../library/socket.rst:1194
16521652msgid ""
16531653"Return the socket's file descriptor (a small integer), or -1 on failure. "
16541654"This is useful with :func:`select.select`."
1655- msgstr ""
1655+ msgstr "返回套接字的文件描述符(一个小整数),失败返回 -1。配合 :func:`select.select` 使用很有用。 "
16561656
16571657#: ../../library/socket.rst:1197
16581658msgid ""
16591659"Under Windows the small integer returned by this method cannot be used where"
16601660" a file descriptor can be used (such as :func:`os.fdopen`). Unix does not "
16611661"have this limitation."
16621662msgstr ""
1663+ "在 Windows 下,此方法返回的小整数在允许使用文件描述符的地方无法使用(如 :func:`os.fdopen` )。Unix 无此限制。"
16631664
16641665#: ../../library/socket.rst:1203
16651666msgid ""
16661667"Get the :ref:`inheritable flag <fd_inheritance>` of the socket's file "
16671668"descriptor or socket's handle: ``True`` if the socket can be inherited in "
16681669"child processes, ``False`` if it cannot."
16691670msgstr ""
1671+ "获取套接字文件描述符或套接字句柄的 :ref:`可继承标志 <fd_inheritance>` :如果子进程可以继承套接字则为 ``True``,否则为"
1672+ " ``False``。"
16701673
16711674#: ../../library/socket.rst:1212
16721675msgid ""
You can’t perform that action at this time.
0 commit comments