diff options
author | Victor Stinner <vstinner@python.org> | 2021-01-27 23:03:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 23:03:23 (GMT) |
commit | 64fc105b2d2faaeadd1026d2417b83915af6622f (patch) | |
tree | ba81a4d0b502e23b7dcb032ba793d8e767b62e86 /Doc/library/sys.rst | |
parent | c9b8e9c421b57acdcaf24fab0c93bc29b3ef7c67 (diff) | |
download | cpython-64fc105b2d2faaeadd1026d2417b83915af6622f.zip cpython-64fc105b2d2faaeadd1026d2417b83915af6622f.tar.gz cpython-64fc105b2d2faaeadd1026d2417b83915af6622f.tar.bz2 |
bpo-42955: Remove sub-packages from sys.stdlib_module_names (GH-24353)
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 0219ae8..80b30d0 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -1575,9 +1575,10 @@ always available. All module kinds are listed: pure Python, built-in, frozen and extension modules. Test modules are excluded. - For packages, only sub-packages are listed, not sub-modules. For example, - ``concurrent`` package and ``concurrent.futures`` sub-package are listed, - but not ``concurrent.futures.base`` sub-module. + For packages, only the main package is listed: sub-packages and sub-modules + are not listed. For example, the ``email`` package is listed, but the + ``email.mime`` sub-package and the ``email.message`` sub-module are not + listed. See also the :attr:`sys.builtin_module_names` list. |