This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[python] fix symbol docstring


I happened across a small copy&paste bug in a symbol docstring.

Tom

2008-12-05  Tom Tromey  <tromey@redhat.com>

	* python/python-symbol.c (symbol_object_methods) <get_symtab>: Fix
	documentation.

diff --git a/gdb/python/python-symbol.c b/gdb/python/python-symbol.c
index d8237dc..3f3f9d3 100644
--- a/gdb/python/python-symbol.c
+++ b/gdb/python/python-symbol.c
@@ -269,7 +269,7 @@ static PyMethodDef symbol_object_methods[] = {
   { "get_value", sympy_get_value, METH_NOARGS,
     "Return the value of the symbol." },
   { "get_symtab", sympy_get_symtab, METH_NOARGS,
-    "Return the value of the symbol." },
+    "Return the symbol table in which this symbol appears." },
   { "get_natural_name", sympy_get_natural_name, METH_NOARGS,
     "Return the \"natural\" name of the symbol." },
   { "get_linkage_name", sympy_get_linkage_name, METH_NOARGS,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]