Swap two sentences in the Pretty Printing API node
authorTom Tromey <tom@tromey.com>
Sat, 8 Sep 2018 19:50:09 +0000 (13:50 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 10 Sep 2018 13:44:28 +0000 (07:44 -0600)
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.

gdb/doc/ChangeLog
gdb/doc/python.texi

index e1a3c86..8a1341c 100644 (file)
@@ -1,5 +1,9 @@
 2018-09-10  Tom Tromey  <tom@tromey.com>
 
+       * python.texi (Pretty Printing API): Swap sentence order.
+
+2018-09-10  Tom Tromey  <tom@tromey.com>
+
        PR python/16461:
        * python.texi (Values From Inferior): Mention use of virtual
        table.
index e310c16..545e0c3 100644 (file)
@@ -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