proc: update docstrings

This commit is contained in:
Denis Bilenko
2009-04-24 16:19:48 +07:00
parent 8714c4689c
commit e816900bfc

View File

@@ -630,6 +630,8 @@ class wrap_errors(object):
wrap_errors provides a shortcut to write that in one line: wrap_errors provides a shortcut to write that in one line:
func1 = wrap_errors((A, B, C), func) func1 = wrap_errors((A, B, C), func)
It also preserves __str__ and __repr__ of the original function.
""" """
def __init__(self, errors, func): def __init__(self, errors, func):
@@ -657,7 +659,8 @@ class wrap_errors(object):
class RunningProcSet(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): def __init__(self):
self.procs = set() self.procs = set()