mirror of
https://github.com/python/cpython.git
synced 2025-09-07 17:32:01 +00:00
#18764: p(rint) -> p in pdb docs.
Missed changing the doc for the command itself, patch for that also by Connor Osborn.
This commit is contained in:
parent
94d08d908b
commit
d57937656d
1 changed files with 7 additions and 1 deletions
|
@ -403,10 +403,16 @@ by the local file.
|
|||
|
||||
Print the argument list of the current function.
|
||||
|
||||
.. pdbcommand:: p(rint) expression
|
||||
.. pdbcommand:: p expression
|
||||
|
||||
Evaluate the *expression* in the current context and print its value.
|
||||
|
||||
.. note::
|
||||
|
||||
``print()`` can also be used, but is not a debugger command --- this executes the
|
||||
Python :func:`print` function.
|
||||
|
||||
|
||||
.. pdbcommand:: pp expression
|
||||
|
||||
Like the :pdbcmd:`p` command, except the value of the expression is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue