diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2015-07-23 06:36:25 -0700 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2015-07-23 06:51:07 -0700 |
commit | 7b849db4f213d6734b4121ca5e5cab3341a5140c (patch) | |
tree | b5acbd5e2742c98550ac7fd6731007e0c6823204 /gdb/ChangeLog | |
parent | d0d8478068ae7c01b1a504ca2fba90c1d36c5566 (diff) | |
download | gdb-7b849db4f213d6734b4121ca5e5cab3341a5140c.zip gdb-7b849db4f213d6734b4121ca5e5cab3341a5140c.tar.gz gdb-7b849db4f213d6734b4121ca5e5cab3341a5140c.tar.bz2 |
py-linetable.c: Fix doc of LineTable.source_lines' return type
The ltpy_get_all_source_lines function, use to implement
the gdb.LineTable.source_lines method, returns a list:
source_list = PyDict_Keys (source_dict);
return source_list;
This patch fixes the function's documentation as well as its docstring
to say that it returns a list rather than a FrozenSet.
gdb/ChangeLog:
* py-linetable.c (ltpy_get_all_source_lines): Adjust function
documentation to say that it returns a list rather than
a FrozenSet.
(linetable_object_methods): Update the docstring of the
"source_line" entry.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 78096ab..ecc7f55 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2015-07-23 Ciro Santilli <ciro.santilli@gmail.com> (tiny patch) + + * py-linetable.c (ltpy_get_all_source_lines): Adjust function + documentation to say that it returns a list rather than + a FrozenSet. + (linetable_object_methods): Update the docstring of the + "source_line" entry. + 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com> * gdbtypes.c (resolve_dynamic_array): Pass the peeled element |