aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/python.texi
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-09-08 13:50:09 -0600
committerTom Tromey <tom@tromey.com>2018-09-10 07:44:28 -0600
commit27a9fec6aa2637715a4631f79fb46372a37f868a (patch)
tree760246a1e007521e3a732a14d5f2962c935c36ea /gdb/doc/python.texi
parent9da10427ddcfae7313c462f729407e0c7c59e2d8 (diff)
downloadgdb-27a9fec6aa2637715a4631f79fb46372a37f868a.zip
gdb-27a9fec6aa2637715a4631f79fb46372a37f868a.tar.gz
gdb-27a9fec6aa2637715a4631f79fb46372a37f868a.tar.bz2
Swap two sentences in the Pretty Printing API node
I thought the start of the Pretty Printing API node read a bit strangely. This patch swaps the first two sentences, which seems better. gdb/doc/ChangeLog 2018-09-10 Tom Tromey <tom@tromey.com> * python.texi (Pretty Printing API): Swap sentence order.
Diffstat (limited to 'gdb/doc/python.texi')
-rw-r--r--gdb/doc/python.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index e310c16..545e0c3 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -1253,10 +1253,9 @@ Python module (@pxref{gdb.types}).
@subsubsection Pretty Printing API
@cindex python pretty printing api
-An example output is provided (@pxref{Pretty Printing}).
-
A pretty-printer is just an object that holds a value and implements a
-specific interface, defined here.
+specific interface, defined here. An example output is provided
+(@pxref{Pretty Printing}).
@defun pretty_printer.children (self)
@value{GDBN} will call this method on a pretty-printer to compute the