Glossary¶
This section defines a few terms that may be used elsewhere in the specification.
- distribution¶
The packaged file which is used to publish and distribute a release. (PEP 426)
- inline¶
Inline type annotations are annotations that are included in the runtime code using PEP 526 and PEP 3107 syntax (the filename ends in
.py
).- module¶
A file containing Python runtime code or stubbed type information.
- package¶
A directory or directories that namespace Python modules. (Note the distinction between packages and distributions. While most distributions are named after the one package they install, some distributions install multiple packages.)
- stub¶
A file containing only type information, empty of runtime code (the filename ends in
.pyi
). See Stub files.