@@ -451,7 +451,7 @@ msgstr ""
451451#: ../../library/socketserver.rst:334
452452msgid ""
453453"Now only called for exceptions derived from the :exc:`Exception` class."
454- msgstr ""
454+ msgstr "现在只针对派生自 :exc:`Exception` 类的异常调用此方法。 "
455455
456456#: ../../library/socketserver.rst:341
457457msgid ""
@@ -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."
463463msgstr ""
464+ "此函数会在 :attr:`timeout` 属性被设为 :const:`None` 以外的值并且在超出时限之后仍未收到请求时被调用。 "
465+ "分叉服务器的默认行为是收集任何已退出的子进程状态,而在线程服务器中此方法则不做任何操作。"
464466
465467#: ../../library/socketserver.rst:350
466468msgid ""
@@ -469,19 +471,24 @@ msgid ""
469471"process or thread to handle the request; the :class:`ForkingMixIn` and "
470472":class:`ThreadingMixIn` classes do this."
471473msgstr ""
474+ "调用 :meth:`finish_request` 来创建 :attr:`RequestHandlerClass` 的实例。 "
475+ "如果需要,此函数可创建一个新的进程或线程来处理请求;:class:`ForkingMixIn` 和 :class:`ThreadingMixIn` "
476+ "类能完成此任务。"
472477
473478#: ../../library/socketserver.rst:362
474479msgid ""
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."
478483msgstr ""
484+ "由服务器的构造器调用以激活服务器。 TCP 服务器的默认行为只是在服务器的套接字上发起调用 :meth:`~socket.socket.listen`。"
485+ " 可以被重载。"
479486
480487#: ../../library/socketserver.rst:369
481488msgid ""
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
487494msgid ""
0 commit comments