@@ -286,20 +286,20 @@ msgid ""
286286"The header to issue if the help output has a section for miscellaneous help"
287287" topics (that is, there are :meth:`help_\\ *` methods without corresponding "
288288":meth:`do_\\ *` methods)."
289- msgstr ""
289+ msgstr "如果帮助输出其他帮助主题的部分(即与 :meth:`do_ \\ *` 方法没有关联的 :meth:`help_ \\ *` 方法),则发出头文件。 "
290290
291291#: ../../library/cmd.rst:201
292292msgid ""
293293"The header to issue if the help output has a section for undocumented "
294294"commands (that is, there are :meth:`do_\\ *` methods without corresponding "
295295":meth:`help_\\ *` methods)."
296- msgstr ""
296+ msgstr "如果帮助输出未被记录命令的部分(即与 :meth:`help_ \\ *` 方法没有关联的 :meth:`do_ \\ *` 方法),则发出头文件。 "
297297
298298#: ../../library/cmd.rst:208
299299msgid ""
300300"The character used to draw separator lines under the help-message headers. "
301301"If empty, no ruler line is drawn. It defaults to ``'='``."
302- msgstr ""
302+ msgstr "用于在帮助信息标题的下方绘制分隔符的字符,如果为空,则不绘制标尺线。 这个字符默认是 ``'='`` 。 "
303303
304304#: ../../library/cmd.rst:214
305305msgid ""
@@ -310,22 +310,26 @@ msgid ""
310310"interpreter will automatically support :program:`Emacs`\\ -like line editing"
311311" and command-history keystrokes.)"
312312msgstr ""
313+ "这是一个标志,默认为 true 。如果为 true ,, :meth:`cmdloop` 使用 :func:`input` "
314+ "先是提示并且阅读下一个命令;如果为 false , :meth:`sys.stdout.write` 和 "
315+ ":meth:`sys.stdin.readline` 被使用。(这意味着解释器将会自动支持类似于 :program:`Emacs`\\ "
316+ "的行编辑和命令历史记录按键操作,通过导入 :mod:`readline` 在支持它的系统上。)"
313317
314318#: ../../library/cmd.rst:224
315319msgid "Cmd Example"
316- msgstr ""
320+ msgstr "Cmd 例子 "
317321
318322#: ../../library/cmd.rst:228
319323msgid ""
320324"The :mod:`cmd` module is mainly useful for building custom shells that let a"
321325" user work with a program interactively."
322- msgstr ""
326+ msgstr " :mod:`cmd` 模块主要被用于构建自定义 shell 让用户以交互的方式使用一个程序。 "
323327
324328#: ../../library/cmd.rst:231
325329msgid ""
326330"This section presents a simple example of how to build a shell around a few "
327331"of the commands in the :mod:`turtle` module."
328- msgstr ""
332+ msgstr "这部分提供了一个简单的例子来介绍如何使用一部分在 :mod:`turtle` 模块中的命令构建一个 shell 。 "
329333
330334#: ../../library/cmd.rst:234
331335msgid ""
0 commit comments