[tor-commits] [bridgedb/master] Document parameter in bridgedb.test.util.processExists().

isis at torproject.org isis at torproject.org
Tue Feb 3 02:31:01 UTC 2015


commit f5360f503b280b56c58488c8ecb215f0952f2927
Author: Isis Lovecruft <isis at 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





More information about the tor-commits mailing list