We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
import sys.monitoring
ModuleNotFoundError
1 parent 83f33dc commit d7c9f18Copy full SHA for d7c9f18
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