Add comment.

llvm-svn: 132152
This commit is contained in:
Johnny Chen 2011-05-26 21:53:05 +00:00
parent 0da5250bcd
commit 75ec159da5
1 changed files with 4 additions and 1 deletions

View File

@ -210,7 +210,10 @@ def value_type_to_str(enum):
# ==================================================
def get_stopped_threads(process, reason):
"""Returns the thread(s) with the specified stop reason in a list."""
"""Returns the thread(s) with the specified stop reason in a list.
The list can be empty if no such thread exists.
"""
threads = []
for t in process:
if t.GetStopReason() == reason: