Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d579376

Browse files
committed
#18764: p(rint) -> p in pdb docs.
Missed changing the doc for the command itself, patch for that also by Connor Osborn.
1 parent 94d08d9 commit d579376

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Doc/library/pdb.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,10 +403,16 @@ by the local file.
403403

404404
Print the argument list of the current function.
405405

406-
.. pdbcommand:: p(rint) expression
406+
.. pdbcommand:: p expression
407407

408408
Evaluate the *expression* in the current context and print its value.
409409

410+
.. note::
411+
412+
``print()`` can also be used, but is not a debugger command --- this executes the
413+
Python :func:`print` function.
414+
415+
410416
.. pdbcommand:: pp expression
411417

412418
Like the :pdbcmd:`p` command, except the value of the expression is

0 commit comments

Comments
 (0)