Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f1358 commit ec142bfCopy full SHA for ec142bf
1 file changed
library/cmd.po
@@ -210,6 +210,9 @@ msgid ""
210
"the :meth:`precmd` implementation may re-write the command or simply return "
211
"*line* unchanged."
212
msgstr ""
213
+"钩方法在命令行 *line* 被解释之前执行,但是在输入提示被生成和发出后。这个方法是一个在 :class:`Cmd` "
214
+"中的存根;它的存在是为了被子类覆盖。返回值被用作 :meth:`onecmd` 方法执行的命令; :meth:`precmd` "
215
+"的实现或许会重写命令或者简单的返回 *line* 不变。"
216
217
#: ../../library/cmd.rst:136
218
msgid ""
0 commit comments