diff options
| -rw-r--r-- | docs/index.rst | 2 | ||||
| -rw-r--r-- | psutil/__init__.py | 2 |
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(): |
