summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola' <g.rodola@gmail.com>2013-04-11 11:10:20 +0200
committerGiampaolo Rodola' <g.rodola@gmail.com>2013-04-11 11:10:20 +0200
commitba882fc691522f70c42afb9d8f89e86421a8d994 (patch)
treee3c94954928520b2dccd523ae1fc01fe34d5f130
parentb8b41aad9abbf251397e8de5709a0e561463da85 (diff)
downloadpsutil-ba882fc691522f70c42afb9d8f89e86421a8d994.tar.gz
update is_running() docstring
-rw-r--r--psutil/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/psutil/__init__.py b/psutil/__init__.py
index 1198e09a..19493f83 100644
--- a/psutil/__init__.py
+++ b/psutil/__init__.py
@@ -661,7 +661,10 @@ class Process(object):
return self._platform_impl.get_connections(kind)
def is_running(self):
- """Return whether this process is running."""
+ """Return whether this process is running.
+ It also checks if PID has been reused by another process in
+ which case returns False.
+ """
if self._gone:
return False
try: