File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -286,12 +286,16 @@ msgid ""
286286"the square brackets must not be typed. Alternatives in the command syntax "
287287"are separated by a vertical bar (``|``)."
288288msgstr ""
289+ "下方列出的是调试器可接受的命令。如下所示,大多数命令可以缩写为一个或两个字母。如 ``h(elp)`` 表示可以输入 ``h`` 或 ``help`` "
290+ "来输入帮助命令(但不能输入 ``he`` 或 ``hel``,也不能是 ``H`` 或 ``Help`` 或 "
291+ "``HELP``)。命令的参数必须用空格(空格符或制表符)分隔。在命令语法中,可选参数括在方括号 (``[]``) "
292+ "中,使用时请勿输入方括号。命令语法中的选择项由竖线 (``|``) 分隔。"
289293
290294#: ../../library/pdb.rst:218
291295msgid ""
292296"Entering a blank line repeats the last command entered. Exception: if the "
293297"last command was a :pdbcmd:`list` command, the next 11 lines are listed."
294- msgstr ""
298+ msgstr "输入一个空白行将重复最后输入的命令。例外:如果最后一个命令是 :pdbcmd:`list` 命令,则会列出接下来的 11 行。 "
295299
296300#: ../../library/pdb.rst:221
297301msgid ""
@@ -303,13 +307,15 @@ msgid ""
303307"in such a statement, the exception name is printed but the debugger's state "
304308"is not changed."
305309msgstr ""
310+ "调试器无法识别的命令将被认为是 Python 语句,并在正在调试的程序的上下文中执行。Python 语句也可以用感叹号 (``!``) "
311+ "作为前缀。这是检查正在调试的程序的强大方法,甚至可以修改变量或调用函数。当此类语句发生异常,将打印异常名称,但调试器的状态不会改变。"
306312
307313#: ../../library/pdb.rst:229
308314msgid ""
309315"The debugger supports :ref:`aliases <debugger-aliases>`. Aliases can have "
310316"parameters which allows one a certain level of adaptability to the context "
311317"under examination."
312- msgstr ""
318+ msgstr "调试器支持 :ref:`别名 <debugger-aliases>`。别名可以有参数,使得调试器对被检查的上下文有一定程度的适应性。 "
313319
314320#: ../../library/pdb.rst:233
315321msgid ""
You can’t perform that action at this time.
0 commit comments