diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2024-10-09 10:53:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 10:53:57 (GMT) |
commit | 3024b16d51bb7f74177c5a5038cc9a56fd2b26bd (patch) | |
tree | 2fb75d1941753cf3375c95723b16086a3969ac23 /Doc/glossary.rst | |
parent | 7a303fc78a6dbd1b4c01f8a2b14ddcae29f4271b (diff) | |
download | cpython-3024b16d51bb7f74177c5a5038cc9a56fd2b26bd.zip cpython-3024b16d51bb7f74177c5a5038cc9a56fd2b26bd.tar.gz cpython-3024b16d51bb7f74177c5a5038cc9a56fd2b26bd.tar.bz2 |
gh-101100: Consolidate documentation on `ModuleType` attributes (#124709)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Barry Warsaw <barry@python.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r-- | Doc/glossary.rst | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 933fb03..cb7e0a2b 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -461,7 +461,7 @@ Glossary <meta path finder>` for use with :data:`sys.meta_path`, and :term:`path entry finders <path entry finder>` for use with :data:`sys.path_hooks`. - See :ref:`importsystem` and :mod:`importlib` for much more detail. + See :ref:`finders-and-loaders` and :mod:`importlib` for much more detail. floor division Mathematical division that rounds down to nearest integer. The floor @@ -791,8 +791,11 @@ Glossary loader An object that loads a module. It must define a method named :meth:`load_module`. A loader is typically returned by a - :term:`finder`. See :pep:`302` for details and - :class:`importlib.abc.Loader` for an :term:`abstract base class`. + :term:`finder`. See also: + + * :ref:`finders-and-loaders` + * :class:`importlib.abc.Loader` + * :pep:`302` locale encoding On Unix, it is the encoding of the LC_CTYPE locale. It can be set with @@ -862,6 +865,8 @@ Glossary A namespace containing the import-related information used to load a module. An instance of :class:`importlib.machinery.ModuleSpec`. + See also :ref:`module-specs`. + MRO See :term:`method resolution order`. |