We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import sys.monitoring
ModuleNotFoundError
1 parent f36da66 commit 0f33aefCopy full SHA for 0f33aef
1 file changed
Doc/library/sys.monitoring.rst
@@ -11,9 +11,9 @@
11
.. note::
12
13
: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``.
+ not an independent module, and ``import sys.monitoring`` would fail
+ with a :exc:`ModuleNotFoundError`. Instead, simply ``import sys``
+ and then use ``sys.monitoring``.
17
18
19
This namespace provides access to the functions and constants necessary to
0 commit comments