Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bcce1256
Commit
bcce1256
authored
Oct 08, 2013
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closes #19178: some more cross-references about packages in glossary. Patch by Berker Peksag.
parent
59c900d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Doc/glossary.rst
Doc/glossary.rst
+9
-1
No files found.
Doc/glossary.rst
View file @
bcce1256
...
...
@@ -520,6 +520,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`.
...
...
@@ -558,6 +560,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
...
...
@@ -579,10 +583,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
...
...
@@ -728,6 +734,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment