summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrusaderky <crusaderky@gmail.com>2020-03-04 16:25:18 +0000
committerGitHub <noreply@github.com>2020-03-04 17:25:18 +0100
commitea4887e758ee2845f8e238655aaadb56f504e128 (patch)
tree10dda24e2e7788e41dafad733c33e898112d0321
parent544e9daa4f66a9f80d7bf6c7886d693ee42f0a13 (diff)
downloadpsutil-ea4887e758ee2845f8e238655aaadb56f504e128.tar.gz
sensors_fans is not available on MacOS (#1710)
-rw-r--r--docs/index.rst2
-rw-r--r--psutil/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 7233793f..55e1586d 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -751,7 +751,7 @@ Sensors
See also `fans.py`_ and `sensors.py`_ for an example application.
- Availability: Linux, macOS
+ Availability: Linux
.. versionadded:: 5.2.0
diff --git a/psutil/__init__.py b/psutil/__init__.py
index 18fb1f13..46c4a20b 100644
--- a/psutil/__init__.py
+++ b/psutil/__init__.py
@@ -2260,7 +2260,7 @@ if hasattr(_psplatform, "sensors_temperatures"):
__all__.append("sensors_temperatures")
-# Linux, macOS
+# Linux
if hasattr(_psplatform, "sensors_fans"):
def sensors_fans():