From 5b94dc28b3f3ee939a871eb6583372244a44217f Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Sat, 24 Sep 2011 04:51:43 +0000 Subject: SBSection supports iteration through its subsections, represented as SBSection as well. SBModule supports an additional SBSection iteration, besides the original SBSymbol iteration. Add docstrings and implement the two SBSection iteration protocols. llvm-svn: 140449 --- lldb/scripts/Python/interface/SBModule.i | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/scripts/Python/interface/SBModule.i') diff --git a/lldb/scripts/Python/interface/SBModule.i b/lldb/scripts/Python/interface/SBModule.i index 466fcfa..b85b896 100644 --- a/lldb/scripts/Python/interface/SBModule.i +++ b/lldb/scripts/Python/interface/SBModule.i @@ -31,7 +31,8 @@ and rich comparion methods which allow the API program to use, if thisModule == thatModule: print 'This module is the same as that module' -to test module equality." +to test module equality. A module also contains object file sections, namely +SBSection. SBModule supports section iteration through section_iter()." ) SBModule; class SBModule { -- cgit v1.1