]> granicus.if.org Git - python/commitdiff
#18764: p(rint) -> p in pdb docs.
authorR David Murray <rdmurray@bitdance.com>
Thu, 10 Oct 2013 21:33:43 +0000 (17:33 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 10 Oct 2013 21:33:43 +0000 (17:33 -0400)
Missed changing the doc for the command itself, patch for that also by Connor
Osborn.

Doc/library/pdb.rst

index 66a78d05a504f1addf0a615735f58d9b6225ff90..48a8a6b72230efeb01a65faf8233100da040b1ef 100644 (file)
@@ -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