File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ msgstr ""
446446#: ../../library/socketserver.rst:334
447447msgid ""
448448"Now only called for exceptions derived from the :exc:`Exception` class."
449- msgstr ""
449+ msgstr "现在只针对派生自 :exc:`Exception` 类的异常调用此方法。 "
450450
451451#: ../../library/socketserver.rst:341
452452msgid ""
@@ -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."
458458msgstr ""
459+ "此函数会在 :attr:`timeout` 属性被设为 :const:`None` 以外的值并且在超出时限之后仍未收到请求时被调用。 "
460+ "分叉服务器的默认行为是收集任何已退出的子进程状态,而在线程服务器中此方法则不做任何操作。"
459461
460462#: ../../library/socketserver.rst:350
461463msgid ""
@@ -464,6 +466,9 @@ msgid ""
464466"process or thread to handle the request; the :class:`ForkingMixIn` and "
465467":class:`ThreadingMixIn` classes do this."
466468msgstr ""
469+ "调用 :meth:`finish_request` 来创建 :attr:`RequestHandlerClass` 的实例。 "
470+ "如果需要,此函数可创建一个新的进程或线程来处理请求;:class:`ForkingMixIn` 和 :class:`ThreadingMixIn` "
471+ "类能完成此任务。"
467472
468473#: ../../library/socketserver.rst:362
469474msgid ""
You can’t perform that action at this time.
0 commit comments