proc: update docstrings
This commit is contained in:
@@ -630,6 +630,8 @@ class wrap_errors(object):
|
||||
wrap_errors provides a shortcut to write that in one line:
|
||||
|
||||
func1 = wrap_errors((A, B, C), func)
|
||||
|
||||
It also preserves __str__ and __repr__ of the original function.
|
||||
"""
|
||||
|
||||
def __init__(self, errors, func):
|
||||
@@ -657,7 +659,8 @@ class wrap_errors(object):
|
||||
|
||||
|
||||
class RunningProcSet(object):
|
||||
"""Maintain a set of Procs that are still running. Provide a way to wait/kill all of them."""
|
||||
"""Maintain a set of Procs that are still running, that is, automatically remove
|
||||
a proc when it's finished. Provide a way to wait/kill all of them"""
|
||||
|
||||
def __init__(self):
|
||||
self.procs = set()
|
||||
|
Reference in New Issue
Block a user