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
This commit is contained in:
Johnny Chen
2011-09-24 04:51:43 +00:00
parent 1f88d2f531
commit 5b94dc28b3
3 changed files with 15 additions and 3 deletions

View File

@@ -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
{