mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-90095: Ignore empty lines and comments in .pdbrc
(#116834)
This commit is contained in:
parent
8fc8fbb43a
commit
a50cf6c3d7
4 changed files with 26 additions and 2 deletions
|
@ -288,7 +288,8 @@ There are three preset *convenience variables*:
|
|||
|
||||
If a file :file:`.pdbrc` exists in the user's home directory or in the current
|
||||
directory, it is read with ``'utf-8'`` encoding and executed as if it had been
|
||||
typed at the debugger prompt. This is particularly useful for aliases. If both
|
||||
typed at the debugger prompt, with the exception that empty lines and lines
|
||||
starting with ``#`` are ignored. This is particularly useful for aliases. If both
|
||||
files exist, the one in the home directory is read first and aliases defined there
|
||||
can be overridden by the local file.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue