Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 245c765

Browse files
committed
merge with 3.3
2 parents 1cfa0ba + bcce125 commit 245c765

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Doc/glossary.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,8 @@ Glossary
529529
have a namespace containing arbitrary Python objects. Modules are loaded
530530
into Python by the process of :term:`importing`.
531531

532+
See also :term:`package`.
533+
532534
MRO
533535
See :term:`method resolution order`.
534536

@@ -567,6 +569,8 @@ Glossary
567569
and specifically are not like a :term:`regular package` because they
568570
have no ``__init__.py`` file.
569571

572+
See also :term:`module`.
573+
570574
nested scope
571575
The ability to refer to a variable in an enclosing definition. For
572576
instance, a function defined inside another function can refer to
@@ -588,10 +592,12 @@ Glossary
588592
class`.
589593

590594
package
591-
A Python module which can contain submodules or recursively,
595+
A Python :term:`module` which can contain submodules or recursively,
592596
subpackages. Technically, a package is a Python module with an
593597
``__path__`` attribute.
594598

599+
See also :term:`regular package` and :term:`namespace package`.
600+
595601
parameter
596602
A named entity in a :term:`function` (or method) definition that
597603
specifies an :term:`argument` (or in some cases, arguments) that the
@@ -737,6 +743,8 @@ Glossary
737743
A traditional :term:`package`, such as a directory containing an
738744
``__init__.py`` file.
739745

746+
See also :term:`namespace package`.
747+
740748
__slots__
741749
A declaration inside a class that saves memory by pre-declaring space for
742750
instance attributes and eliminating instance dictionaries. Though

0 commit comments

Comments
 (0)