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  <tom@tromey.com>

	* python.texi (Basic Python): Parenthesize argument to
	decode_line.
This commit is contained in:
Tom Tromey 2018-09-08 13:40:50 -06:00
parent 05c6bdc1a9
commit 0d2a583976
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View 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