Cleaned up the documentation strings for many helper objects and added
lldb.SBModule.section and lldb.SBModule.sections property access.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149665 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBProcess.i b/scripts/Python/interface/SBProcess.i
index 77b65b7..df58f16 100644
--- a/scripts/Python/interface/SBProcess.i
+++ b/scripts/Python/interface/SBProcess.i
@@ -309,7 +309,7 @@
return True
return False
- class thread_array_access(object):
+ class threads_access(object):
'''A helper object that will lazily hand out thread for a process when supplied an index.'''
def __init__(self, sbprocess):
self.sbprocess = sbprocess
@@ -323,12 +323,12 @@
return self.sbprocess.GetThreadAtIndex(key)
return None
- def get_thread_array_access_object(self):
- '''An accessor function that retuns a thread_array_access() object which allows lazy thread array access.'''
- return self.thread_array_access (self)
+ def get_threads_access_object(self):
+ '''An accessor function that returns a modules_access() object which allows lazy thread access from a lldb.SBProcess object.'''
+ return self.threads_access (self)
def get_process_thread_list(self):
- '''An accessor function that retuns an array object that contains all threads in this process object.'''
+ '''An accessor function that returns a list() that contains all threads in a lldb.SBProcess object.'''
threads = []
for idx in range(self.GetNumThreads()):
threads.append(GetThreadAtIndex(idx))
@@ -337,8 +337,8 @@
__swig_getmethods__["threads"] = get_process_thread_list
if _newclass: x = property(get_process_thread_list, None)
- __swig_getmethods__["thread"] = get_thread_array_access_object
- if _newclass: x = property(get_thread_array_access_object, None)
+ __swig_getmethods__["thread"] = get_threads_access_object
+ if _newclass: x = property(get_threads_access_object, None)
__swig_getmethods__["is_alive"] = __get_is_alive__
if _newclass: x = property(__get_is_alive__, None)