File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -330,29 +330,33 @@ msgid ""
330330"overridden by subclasses or mixin classes to perform actions specific to a "
331331"given service, such as cleanup actions."
332332msgstr ""
333+ "此方法会在 the :meth:`serve_forever` 循环中被调用。 此方法可被子类或混合类所重载以执行某个给定服务的专属操作,例如清理操作。"
333334
334335#: ../../library/socketserver.rst:239
335336msgid ""
336337"Tell the :meth:`serve_forever` loop to stop and wait until it does. "
337338":meth:`shutdown` must be called while :meth:`serve_forever` is running in a "
338339"different thread otherwise it will deadlock."
339340msgstr ""
341+ "通知 :meth:`serve_forever` 循环停止并等待它完成。 :meth:`shutdown` 必须在 "
342+ ":meth:`serve_forever` 运行于不同线程时被调用否则它将发生死锁。"
340343
341344#: ../../library/socketserver.rst:246
342345msgid "Clean up the server. May be overridden."
343- msgstr ""
346+ msgstr "清理服务器。 可以被重载。 "
344347
345348#: ../../library/socketserver.rst:251
346349msgid ""
347350"The family of protocols to which the server's socket belongs. Common "
348351"examples are :const:`socket.AF_INET` and :const:`socket.AF_UNIX`."
349352msgstr ""
353+ "服务器套接字所属的协议族。 常见的例子有 :const:`socket.AF_INET` 和 :const:`socket.AF_UNIX`。"
350354
351355#: ../../library/socketserver.rst:257
352356msgid ""
353357"The user-provided request handler class; an instance of this class is "
354358"created for each request."
355- msgstr ""
359+ msgstr "用户提供的请求处理句柄类;将为每个请求创建该类的实例。 "
356360
357361#: ../../library/socketserver.rst:263
358362msgid ""
You can’t perform that action at this time.
0 commit comments