summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-08 06:06:27 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-08 06:06:27 (GMT)
commit245c765d0a73e385ff00a982d2c60d0a96c94c74 (patch)
tree1111e3f085c286643f1fbe8a01bec9b319e5bc4d /Doc
parent1cfa0ba8833c18a330fe9653276de29911198dec (diff)
parentbcce1256e3ad33374f05e6150b3f349c11ff2643 (diff)
downloadcpython-245c765d0a73e385ff00a982d2c60d0a96c94c74.zip
cpython-245c765d0a73e385ff00a982d2c60d0a96c94c74.tar.gz
cpython-245c765d0a73e385ff00a982d2c60d0a96c94c74.tar.bz2
merge with 3.3
Diffstat (limited to 'Doc')
-rw-r--r--Doc/glossary.rst10
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index f336a07..5316b01 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -529,6 +529,8 @@ Glossary
have a namespace containing arbitrary Python objects. Modules are loaded
into Python by the process of :term:`importing`.
+ See also :term:`package`.
+
MRO
See :term:`method resolution order`.
@@ -567,6 +569,8 @@ Glossary
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
@@ -588,10 +592,12 @@ Glossary
class`.
package
- 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`.
+
parameter
A named entity in a :term:`function` (or method) definition that
specifies an :term:`argument` (or in some cases, arguments) that the
@@ -737,6 +743,8 @@ Glossary
A traditional :term:`package`, such as a directory containing an
``__init__.py`` file.
+ See also :term:`namespace package`.
+
__slots__
A declaration inside a class that saves memory by pre-declaring space for
instance attributes and eliminating instance dictionaries. Though