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

Skip to content

Commit b8d93fc

Browse files
[po] auto sync
1 parent b15015c commit b8d93fc

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

library/socket.po

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,48 +2208,55 @@ msgid ""
22082208
" socket since the operating system has already duplicated it for the target "
22092209
"process."
22102210
msgstr ""
2211+
"复制套接字,并准备将其与目标进程共享。目标进程必须以 *process_id* "
2212+
"形式提供。然后可以利用某种形式的进程间通信,将返回的字节对象传递给目标进程,还可以使用 :func:`fromshare` "
2213+
"在新进程中重新创建套接字。一旦本方法调用完毕,就可以安全地将套接字关闭,因为操作系统已经为目标进程复制了该套接字。"
22112214

22122215
#: ../../library/socket.rst:1674
22132216
msgid ""
22142217
"Note that there are no methods :meth:`read` or :meth:`write`; use "
22152218
":meth:`~socket.recv` and :meth:`~socket.send` without *flags* argument "
22162219
"instead."
22172220
msgstr ""
2221+
"注意此处没有 :meth:`read` 或 :meth:`write` 方法,请使用不带 *flags* 参数的 "
2222+
":meth:`~socket.recv` 和 :meth:`~socket.send` 来替代。"
22182223

22192224
#: ../../library/socket.rst:1677
22202225
msgid ""
22212226
"Socket objects also have these (read-only) attributes that correspond to the"
22222227
" values given to the :class:`~socket.socket` constructor."
2223-
msgstr ""
2228+
msgstr "套接字对象还具有以下(只读)属性,这些属性与传入 :class:`~socket.socket` 构造函数的值相对应。"
22242229

22252230
#: ../../library/socket.rst:1683
22262231
msgid "The socket family."
2227-
msgstr ""
2232+
msgstr "套接字的协议簇。"
22282233

22292234
#: ../../library/socket.rst:1688
22302235
msgid "The socket type."
2231-
msgstr ""
2236+
msgstr "套接字的类型。"
22322237

22332238
#: ../../library/socket.rst:1693
22342239
msgid "The socket protocol."
2235-
msgstr ""
2240+
msgstr "套接字的协议。"
22362241

22372242
#: ../../library/socket.rst:1700
22382243
msgid "Notes on socket timeouts"
2239-
msgstr ""
2244+
msgstr "关于套接字超时的说明"
22402245

22412246
#: ../../library/socket.rst:1702
22422247
msgid ""
22432248
"A socket object can be in one of three modes: blocking, non-blocking, or "
22442249
"timeout. Sockets are by default always created in blocking mode, but this "
22452250
"can be changed by calling :func:`setdefaulttimeout`."
22462251
msgstr ""
2252+
"一个套接字对象可以处于以下三种模式之一:阻塞、非阻塞或超时。套接字默认以阻塞模式创建,但是可以调用 :func:`setdefaulttimeout` "
2253+
"来更改。"
22472254

22482255
#: ../../library/socket.rst:1706
22492256
msgid ""
22502257
"In *blocking mode*, operations block until complete or the system returns an"
22512258
" error (such as connection timed out)."
2252-
msgstr ""
2259+
msgstr "在 *blocking mode* (阻塞模式)中,操作将阻塞,直到操作完成或系统返回错误(如连接超时)。"
22532260

22542261
#: ../../library/socket.rst:1709
22552262
msgid ""

0 commit comments

Comments
 (0)