Skip to content

Commit dfa3de5

Browse files
authored
Clarify note under sys.monitoring
1 parent dd88e77 commit dfa3de5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/sys.monitoring.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
.. note::
1212

1313
:mod:`!sys.monitoring` is a namespace within the :mod:`sys` module,
14-
not an independent module, so there is no need to
15-
``import sys.monitoring``, simply ``import sys`` and then use
16-
``sys.monitoring``.
14+
not an independent module, and ``import sys.monitoring`` will fail
15+
with a :exception:`ModuleNotFoundError`. Instead, simply
16+
``import sys`` and then use ``sys.monitoring``.
1717

1818

1919
This namespace provides access to the functions and constants necessary to

0 commit comments

Comments
 (0)