@@ -125,7 +125,7 @@ slightly different way:
125
125
126
126
Evaluate the *expression * (given as a string or a code object) under debugger
127
127
control. When :func: `runeval ` returns, it returns the value of the
128
- expression. Otherwise this function is similar to :func: `run `.
128
+ * expression * . Otherwise this function is similar to :func: `run `.
129
129
130
130
131
131
.. function :: runcall(function, *args, **kwds)
@@ -178,7 +178,7 @@ access further features, you have to do this yourself:
178
178
that matches one of these patterns. [1 ]_
179
179
180
180
By default, Pdb sets a handler for the SIGINT signal (which is sent when the
181
- user presses :kbd: `Ctrl - C ` on the console) when you give a `` continue ` ` command.
181
+ user presses :kbd: `Ctrl - C ` on the console) when you give a :pdbcmd: ` continue ` command.
182
182
This allows you to break into the debugger again by pressing :kbd: `Ctrl - C `. If you
183
183
want Pdb not to touch the SIGINT handler, set *nosigint * to true.
184
184
@@ -324,9 +324,9 @@ by the local file.
324
324
325
325
.. pdbcommand :: ignore bpnumber [count]
326
326
327
- Set the ignore count for the given breakpoint number. If count is omitted,
327
+ Set the ignore count for the given breakpoint number. If * count * is omitted,
328
328
the ignore count is set to 0. A breakpoint becomes active when the ignore
329
- count is zero. When non-zero, the count is decremented each time the
329
+ count is zero. When non-zero, the * count * is decremented each time the
330
330
breakpoint is reached and the breakpoint is not disabled and any associated
331
331
condition evaluates to true.
332
332
@@ -365,7 +365,7 @@ by the local file.
365
365
breakpoint—which could have its own command list, leading to ambiguities about
366
366
which list to execute.
367
367
368
- If you use the ' silent' command in the command list, the usual message about
368
+ If you use the `` silent `` command in the command list, the usual message about
369
369
stopping at a breakpoint is not printed. This may be desirable for breakpoints
370
370
that are to print a specific message and then continue. If none of the other
371
371
commands print anything, you see no sign that the breakpoint was reached.
@@ -388,8 +388,8 @@ by the local file.
388
388
Without argument, continue execution until the line with a number greater
389
389
than the current one is reached.
390
390
391
- With a line number , continue execution until a line with a number greater or
392
- equal to that is reached. In both cases, also stop when the current frame
391
+ With * lineno * , continue execution until a line with a number greater or
392
+ equal to * lineno * is reached. In both cases, also stop when the current frame
393
393
returns.
394
394
395
395
.. versionchanged :: 3.2
@@ -442,7 +442,7 @@ by the local file.
442
442
443
443
.. pdbcommand :: p expression
444
444
445
- Evaluate the *expression * in the current context and print its value.
445
+ Evaluate *expression * in the current context and print its value.
446
446
447
447
.. note ::
448
448
@@ -452,32 +452,32 @@ by the local file.
452
452
453
453
.. pdbcommand :: pp expression
454
454
455
- Like the :pdbcmd: `p ` command, except the value of the expression is
455
+ Like the :pdbcmd: `p ` command, except the value of * expression * is
456
456
pretty-printed using the :mod: `pprint ` module.
457
457
458
458
.. pdbcommand :: whatis expression
459
459
460
- Print the type of the *expression *.
460
+ Print the type of *expression *.
461
461
462
462
.. pdbcommand :: source expression
463
463
464
- Try to get source code for the given object and display it.
464
+ Try to get source code of * expression * and display it.
465
465
466
466
.. versionadded :: 3.2
467
467
468
468
.. pdbcommand :: display [expression]
469
469
470
- Display the value of the expression if it changed, each time execution stops
470
+ Display the value of * expression * if it changed, each time execution stops
471
471
in the current frame.
472
472
473
- Without expression, list all display expressions for the current frame.
473
+ Without * expression * , list all display expressions for the current frame.
474
474
475
475
.. versionadded :: 3.2
476
476
477
477
.. pdbcommand :: undisplay [expression]
478
478
479
- Do not display the expression any more in the current frame. Without
480
- expression, clear all display expressions for the current frame.
479
+ Do not display * expression * anymore in the current frame. Without
480
+ * expression * , clear all display expressions for the current frame.
481
481
482
482
.. versionadded :: 3.2
483
483
@@ -493,10 +493,10 @@ by the local file.
493
493
494
494
.. pdbcommand :: alias [name [command]]
495
495
496
- Create an alias called *name * that executes *command *. The command must
496
+ Create an alias called *name * that executes *command *. The * command * must
497
497
*not * be enclosed in quotes. Replaceable parameters can be indicated by
498
498
``%1 ``, ``%2 ``, and so on, while ``%* `` is replaced by all the parameters.
499
- If no command is given , the current alias for *name * is shown. If no
499
+ If * command * is omitted , the current alias for *name * is shown. If no
500
500
arguments are given, all aliases are listed.
501
501
502
502
Aliases may be nested and can contain anything that can be legally typed at
@@ -515,7 +515,7 @@ by the local file.
515
515
516
516
.. pdbcommand :: unalias name
517
517
518
- Delete the specified alias.
518
+ Delete the specified alias * name * .
519
519
520
520
.. pdbcommand :: ! statement
521
521
@@ -531,7 +531,7 @@ by the local file.
531
531
.. pdbcommand :: run [args ...]
532
532
restart [args ...]
533
533
534
- Restart the debugged Python program. If an argument is supplied, it is split
534
+ Restart the debugged Python program. If * args * is supplied, it is split
535
535
with :mod: `shlex ` and the result is used as the new :data: `sys.argv `.
536
536
History, breakpoints, actions and debugger options are preserved.
537
537
:pdbcmd: `restart ` is an alias for :pdbcmd: `run `.
@@ -542,8 +542,8 @@ by the local file.
542
542
543
543
.. pdbcommand :: debug code
544
544
545
- Enter a recursive debugger that steps through the code
546
- argument (which is an arbitrary expression or statement to be
545
+ Enter a recursive debugger that steps through * code *
546
+ (which is an arbitrary expression or statement to be
547
547
executed in the current environment).
548
548
549
549
.. pdbcommand :: retval
0 commit comments