1. mirror
  2. cpython


Georg Brandl  committed b620550

Closes #19178: some more cross-references about packages in glossary. Patch by Berker Peksag.

  • Participants
  • Parent commits 2aee9c4
  • Branches 3.3

Comments (0)

Files changed (1)

File Doc/glossary.rst

View file
  • Ignore whitespace
       have a namespace containing arbitrary Python objects.  Modules are loaded
       into Python by the process of :term:`importing`.
+      See also :term:`package`.
       See :term:`method resolution order`.
       and specifically are not like a :term:`regular package` because they
       have no ``__init__.py`` file.
+      See also :term:`module`.
    nested scope
       The ability to refer to a variable in an enclosing definition.  For
       instance, a function defined inside another function can refer to
-      A Python module which can contain submodules or recursively,
+      A Python :term:`module` which can contain submodules or recursively,
       subpackages.  Technically, a package is a Python module with an
       ``__path__`` attribute.
+      See also :term:`regular package` and :term:`namespace package`.
       A named entity in a :term:`function` (or method) definition that
       specifies an :term:`argument` (or in some cases, arguments) that the
       A traditional :term:`package`, such as a directory containing an
       ``__init__.py`` file.
+      See also :term:`namespace package`.
       A declaration inside a class that saves memory by pre-declaring space for
       instance attributes and eliminating instance dictionaries.  Though