Small typo fix in Basic Python node
authorTom Tromey <tom@tromey.com>
Sat, 8 Sep 2018 19:40:50 +0000 (13:40 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 10 Sep 2018 13:44:27 +0000 (07:44 -0600)
I noticed that the decode_line documentation did not have parens
around the argument:

 -- Function: gdb.decode_line [expression]

This patch fixes this oversight.

gdb/doc/ChangeLog
2018-09-10  Tom Tromey  <tom@tromey.com>

* python.texi (Basic Python): Parenthesize argument to
decode_line.

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

index c83b5f5..642bc54 100644 (file)
@@ -1,5 +1,10 @@
 2018-09-10  Tom Tromey  <tom@tromey.com>
 
+       * python.texi (Basic Python): Parenthesize argument to
+       decode_line.
+
+2018-09-10  Tom Tromey  <tom@tromey.com>
+
        * python.texi (Python): Mention Python versions.  Don't mention
        execfile.
 
index eb4c3a5..6eccc2b 100644 (file)
@@ -448,7 +448,7 @@ as a string, or @code{None}.
 @end defun
 
 @findex gdb.decode_line 
-@defun gdb.decode_line @r{[}expression@r{]}
+@defun gdb.decode_line (@r{[}expression@r{]})
 Return locations of the line specified by @var{expression}, or of the
 current line if no argument was given.  This function returns a Python
 tuple containing two elements.  The first element contains a string