File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1576,7 +1576,7 @@ msgstr "垃圾回收时,套接字会自动关闭,但建议显式 :meth:`clos
15761576msgid ""
15771577":exc:`OSError` is now raised if an error occurs when the underlying "
15781578":c:func:`close` call is made."
1579- msgstr ""
1579+ msgstr "现在,如果底层的 :c:func:`close` 调用出错,会抛出 :exc:`OSError`。 "
15801580
15811581#: ../../library/socket.rst:1135
15821582msgid ""
@@ -1585,12 +1585,14 @@ msgid ""
15851585"connection in a timely fashion, call :meth:`shutdown()` before "
15861586":meth:`close()`."
15871587msgstr ""
1588+ ":meth:`close()` 释放与连接相关联的资源,但不一定立即关闭连接。如果需要及时关闭连接,请在调用 :meth:`close()` 之前调用 "
1589+ ":meth:`shutdown()`。"
15881590
15891591#: ../../library/socket.rst:1143
15901592msgid ""
15911593"Connect to a remote socket at *address*. (The format of *address* depends on"
15921594" the address family --- see above.)"
1593- msgstr ""
1595+ msgstr "连接到 *address* 处的远程套接字。( *address* 的格式取决于地址簇 —— 参见上文) "
15941596
15951597#: ../../library/socket.rst:1146
15961598msgid ""
You can’t perform that action at this time.
0 commit comments