diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-10-10 21:40:48 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-10-10 21:40:48 (GMT) |
commit | 4dfa3d5d631fc62d3f08c0813db9a14c5b84f843 (patch) | |
tree | 58aa7cf1a52a8e8781cc86e35fada876dc355499 | |
parent | d3c43a993cf746b0ea6ac1901198b59baffb91eb (diff) | |
parent | d57937656d58b378bc68cdf43caed09da7a93b06 (diff) | |
download | cpython-4dfa3d5d631fc62d3f08c0813db9a14c5b84f843.zip cpython-4dfa3d5d631fc62d3f08c0813db9a14c5b84f843.tar.gz cpython-4dfa3d5d631fc62d3f08c0813db9a14c5b84f843.tar.bz2 |
merge heads
-rw-r--r-- | Doc/library/pdb.rst | 8 |
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 |