]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document the new `pp' command.
authorBarry Warsaw <barry@python.org>
Tue, 5 Nov 2002 22:41:16 +0000 (22:41 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 5 Nov 2002 22:41:16 +0000 (22:41 +0000)
Doc/lib/libpdb.tex

index 89ec55663981d06709f994c34517e9f74cba0c15..f8417b8b92787f625c3db5c77b613dfd54388e97 100644 (file)
@@ -273,6 +273,11 @@ Evaluate the \var{expression} in the current context and print its
 value.  (Note: \samp{print} can also be used, but is not a debugger
 command --- this executes the Python \keyword{print} statement.)
 
+\item[pp \var{expression}]
+
+Like the \samp{p} command, except the value of the exception is
+pretty-printed using the \module{pprint} module.
+
 \item[alias \optional{\var{name} \optional{command}}]
 
 Creates an alias called \var{name} that executes \var{command}.  The