From: Tom Tromey Date: Sat, 8 Sep 2018 19:40:50 +0000 (-0600) Subject: Small typo fix in Basic Python node X-Git-Tag: users/ARM/embedded-binutils-master-2018q4~844 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d2a583976a87221d11c2639ede8f764e0c26059;p=external%2Fbinutils.git Small typo fix in Basic Python node 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 * python.texi (Basic Python): Parenthesize argument to decode_line. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index c83b5f5..642bc54 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,10 @@ 2018-09-10 Tom Tromey + * python.texi (Basic Python): Parenthesize argument to + decode_line. + +2018-09-10 Tom Tromey + * python.texi (Python): Mention Python versions. Don't mention execfile. diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index eb4c3a5..6eccc2b 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -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