Skip to content

Commit 3511388

Browse files
authored
[lldb][docs] Use section_iter() to iterate over sections (llvm#167012)
1 parent 1b2eee5 commit 3511388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/bindings/interface/SBSectionDocstrings.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
SBSection supports iteration through its subsection, represented as SBSection
55
as well. For example, ::
66
7-
for sec in exe_module:
7+
for sec in exe_module.section_iter():
88
if sec.GetName() == '__TEXT':
99
print sec
1010
break

0 commit comments

Comments
 (0)