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

Skip to content

Commit e3a24d7

Browse files
[po] auto sync
1 parent 74f1c82 commit e3a24d7

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

library/socketserver.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,8 @@ msgid ""
456456
"collect the status of any child processes that have exited, while in "
457457
"threading servers this method does nothing."
458458
msgstr ""
459+
"此函数会在 :attr:`timeout` 属性被设为 :const:`None` 以外的值并且在超出时限之后仍未收到请求时被调用。 "
460+
"分叉服务器的默认行为是收集任何已退出的子进程状态,而在线程服务器中此方法则不做任何操作。"
459461

460462
#: ../../library/socketserver.rst:350
461463
msgid ""
@@ -464,19 +466,24 @@ msgid ""
464466
"process or thread to handle the request; the :class:`ForkingMixIn` and "
465467
":class:`ThreadingMixIn` classes do this."
466468
msgstr ""
469+
"调用 :meth:`finish_request` 来创建 :attr:`RequestHandlerClass` 的实例。 "
470+
"如果需要,此函数可创建一个新的进程或线程来处理请求;:class:`ForkingMixIn` 和 :class:`ThreadingMixIn` "
471+
"类能完成此任务。"
467472

468473
#: ../../library/socketserver.rst:362
469474
msgid ""
470475
"Called by the server's constructor to activate the server. The default "
471476
"behavior for a TCP server just invokes :meth:`~socket.socket.listen` on the "
472477
"server's socket. May be overridden."
473478
msgstr ""
479+
"由服务器的构造器调用以激活服务器。 TCP 服务器的默认行为只是在服务器的套接字上发起调用 :meth:`~socket.socket.listen`。"
480+
" 可以被重载。"
474481

475482
#: ../../library/socketserver.rst:369
476483
msgid ""
477484
"Called by the server's constructor to bind the socket to the desired "
478485
"address. May be overridden."
479-
msgstr ""
486+
msgstr "由服务器的构造器调用以将套接字绑定到所需的地址。 可以被重载。"
480487

481488
#: ../../library/socketserver.rst:375
482489
msgid ""

0 commit comments

Comments
 (0)