File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,18 +225,22 @@ msgid ""
225225"internal flag which corresponds to *stop*; returning false will cause "
226226"interpretation to continue."
227227msgstr ""
228+ "钩方法只在命令调度完成后执行。这个方法是一个在 :class:`Cmd` 中的存根;它的存在是为了子类被覆盖。 *line* 是被执行的命令行, "
229+ "*stop* 是一个表示在调用 :meth:`postcmd` 之后是否终止执行的标志;这将作为 :meth:`onecmd` "
230+ "方法的返回值。这个方法的返回值被用作与 *stop* 相关联的内部标志的新值;返回 false 将导致解释继续。"
228231
229232#: ../../library/cmd.rst:147
230233msgid ""
231234"Hook method executed once when :meth:`cmdloop` is called. This method is a "
232235"stub in :class:`Cmd`; it exists to be overridden by subclasses."
233- msgstr ""
236+ msgstr "钩方法当 :meth:`cmdloop` 被调用时执行一次。方法是一个在 :class:`Cmd` 中的存根;它的存在是为了被子类覆盖。 "
234237
235238#: ../../library/cmd.rst:153
236239msgid ""
237240"Hook method executed once when :meth:`cmdloop` is about to return. This "
238241"method is a stub in :class:`Cmd`; it exists to be overridden by subclasses."
239242msgstr ""
243+ "钩方法在: meth:`cmdloop` 即将返回时执行一次。这个方法是一个在 :class:`Cmd` 中的存根;塔顶存在是为了被子类覆盖。"
240244
241245#: ../../library/cmd.rst:157
242246msgid ""
You can’t perform that action at this time.
0 commit comments