mirror of
https://github.com/python/cpython.git
synced 2026-05-04 09:31:02 +00:00
Add colour to pdb help description
This commit is contained in:
parent
c49127bb08
commit
64f686a8a3
1 changed files with 7 additions and 7 deletions
14
Lib/pdb.py
14
Lib/pdb.py
|
|
@ -3713,18 +3713,18 @@ def help():
|
|||
pydoc.pager(__doc__)
|
||||
|
||||
_usage = """\
|
||||
Debug the Python program given by pyfile. Alternatively,
|
||||
Debug the Python program given by `pyfile`. Alternatively,
|
||||
an executable module or package to debug can be specified using
|
||||
the -m switch. You can also attach to a running Python process
|
||||
using the -p option with its PID.
|
||||
the `-m` switch. You can also attach to a running Python process
|
||||
using the `-p` option with its PID.
|
||||
|
||||
Initial commands are read from .pdbrc files in your home directory
|
||||
Initial commands are read from `.pdbrc` files in your home directory
|
||||
and in the current directory, if they exist. Commands supplied with
|
||||
-c are executed after commands from .pdbrc files.
|
||||
`-c` are executed after commands from `.pdbrc` files.
|
||||
|
||||
To let the script run until an exception occurs, use "-c continue".
|
||||
To let the script run until an exception occurs, use `-c continue`.
|
||||
To let the script run up to a given line X in the debugged file, use
|
||||
"-c 'until X'"."""
|
||||
`-c 'until X'`."""
|
||||
|
||||
|
||||
def exit_with_permission_help_text():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue