Update gdb.Symbol.is_variable documentation

Kévin found a bug in an earlier version of this series that was based
on a misconception I had about Symbol.is_variable.  This patch fixes
the documentation to explain the method a bit better.

Approved-By: Eli Zaretskii <eliz@gnu.org>
This commit is contained in:
Tom Tromey 2023-10-31 09:16:08 -06:00
parent ebea770b19
commit 5006ea556d

View file

@ -6052,7 +6052,9 @@ local variables will require a frame, but other symbols will not.
@end defvar
@defvar Symbol.is_variable
@code{True} if the symbol is a variable.
@code{True} if the symbol is a variable, as opposed to something like
a function or type. Note that this also returns @code{False} for
arguments.
@end defvar
A @code{gdb.Symbol} object has the following methods: