commit f5360f503b280b56c58488c8ecb215f0952f2927 Author: Isis Lovecruft isis@torproject.org Date: Wed Aug 27 05:33:50 2014 +0000
Document parameter in bridgedb.test.util.processExists(). --- lib/bridgedb/test/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/bridgedb/test/util.py b/lib/bridgedb/test/util.py index 8627281..4c6f795 100644 --- a/lib/bridgedb/test/util.py +++ b/lib/bridgedb/test/util.py @@ -66,8 +66,9 @@ def fileCheckDecorator(func): return wrapper
def processExists(pid): - """Test if **pid** exists. + """Test if the process with **pid** exists.
+ :param int pid: An integer specifying the process ID. :raises: OSError, if ``OSError.errno`` wasn't an expected errno (according to the "ERRORS" section from ``man 2 kill``). :rtype: bool
tor-commits@lists.torproject.org