The recently introduced SBTypeList is also iterable.
This patch takes some time because the old Python constructor pattern was not a valid one,
and breaks with SBTypeList's __init__ signature.  Oops.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136958 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/modify-python-lldb.py b/scripts/Python/modify-python-lldb.py
index 9f5f8c9..e716ee6 100644
--- a/scripts/Python/modify-python-lldb.py
+++ b/scripts/Python/modify-python-lldb.py
@@ -171,7 +171,8 @@
       'SBInstructionList':   ('GetSize', 'GetInstructionAtIndex'),
       'SBStringList':        ('GetSize', 'GetStringAtIndex',),
       'SBSymbolContextList': ('GetSize', 'GetContextAtIndex'),
-      'SBValueList':         ('GetSize',  'GetValueAtIndex'),
+      'SBTypeList':          ('GetSize', 'GetTypeAtIndex'),
+      'SBValueList':         ('GetSize', 'GetValueAtIndex'),
 
       'SBType':  ('GetNumberChildren', 'GetChildAtIndex'),
       'SBValue': ('GetNumChildren',    'GetChildAtIndex'),
@@ -240,7 +241,7 @@
 class_pattern = re.compile("^class (SB.*)\(_object\):$")
 
 # The pattern for recognizing the beginning of the __init__ method definition.
-init_pattern = re.compile("^    def __init__\(self, \*args\):")
+init_pattern = re.compile("^    def __init__\(self.*\):")
 
 # The pattern for recognizing the beginning of the IsValid method definition.
 isvalid_pattern = re.compile("^    def IsValid\(")