summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-10-10 21:33:43 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-10-10 21:33:43 (GMT)
commitd57937656d58b378bc68cdf43caed09da7a93b06 (patch)
treec08197ff5dacc9c9252b14f47f973ad61e13a7e7 /Doc/library/pdb.rst
parent94d08d908bf2ee9806d0d3a7fb530d4f3b25cc00 (diff)
downloadcpython-d57937656d58b378bc68cdf43caed09da7a93b06.zip
cpython-d57937656d58b378bc68cdf43caed09da7a93b06.tar.gz
cpython-d57937656d58b378bc68cdf43caed09da7a93b06.tar.bz2
#18764: p(rint) -> p in pdb docs.
Missed changing the doc for the command itself, patch for that also by Connor Osborn.
Diffstat (limited to 'Doc/library/pdb.rst')
-rw-r--r--Doc/library/pdb.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index 66a78d0..48a8a6b 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -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