From 5ef31a9c46db8431a76239857d1f76773cbc9730 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 29 Jun 2012 22:00:42 +0000 Subject: Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. llvm-svn: 159468 --- lldb/scripts/Python/interface/SBInstructionList.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/scripts/Python/interface/SBInstructionList.i') diff --git a/lldb/scripts/Python/interface/SBInstructionList.i b/lldb/scripts/Python/interface/SBInstructionList.i index 9f4a1b0bd9d..32603be5cc1 100644 --- a/lldb/scripts/Python/interface/SBInstructionList.i +++ b/lldb/scripts/Python/interface/SBInstructionList.i @@ -65,7 +65,7 @@ public: return int(self.GetSize()) def __getitem__(self, key): - '''Access instructions by integer index.''' + '''Access instructions by integer index for array access or by lldb.SBAddress to find an instruction that matches a section offset address object.''' if type(key) is int: # Find an instruction by index if key < len(self): -- cgit v1.2.3