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

Skip to content

Commit 77052d9

Browse files
[po] auto sync
1 parent ced89f0 commit 77052d9

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

library/socketserver.po

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ msgstr ""
451451
#: ../../library/socketserver.rst:334
452452
msgid ""
453453
"Now only called for exceptions derived from the :exc:`Exception` class."
454-
msgstr ""
454+
msgstr "现在只针对派生自 :exc:`Exception` 类的异常调用此方法。"
455455

456456
#: ../../library/socketserver.rst:341
457457
msgid ""
@@ -461,6 +461,8 @@ msgid ""
461461
"collect the status of any child processes that have exited, while in "
462462
"threading servers this method does nothing."
463463
msgstr ""
464+
"此函数会在 :attr:`timeout` 属性被设为 :const:`None` 以外的值并且在超出时限之后仍未收到请求时被调用。 "
465+
"分叉服务器的默认行为是收集任何已退出的子进程状态,而在线程服务器中此方法则不做任何操作。"
464466

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

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

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

486493
#: ../../library/socketserver.rst:375
487494
msgid ""

0 commit comments

Comments
 (0)