summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-26 02:24:28 (GMT)
committerGreg Ward <gward@python.net>2000-05-26 02:24:28 (GMT)
commit6153fa19ce701a4d5f9ced5a829b7ad5f8ea7700 (patch)
treef63e5e084b80336f4becdce225e7fe689795a140 /Doc
parent521340034ee0f813d76b07f01de6f25306f01c1c (diff)
downloadcpython-6153fa19ce701a4d5f9ced5a829b7ad5f8ea7700.zip
cpython-6153fa19ce701a4d5f9ced5a829b7ad5f8ea7700.tar.gz
cpython-6153fa19ce701a4d5f9ced5a829b7ad5f8ea7700.tar.bz2
Guido's rewording of my definition of "root package", with an addition by me.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/dist/dist.tex14
1 files changed, 8 insertions, 6 deletions
diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex
index 04b1c8a..60a42d1 100644
--- a/Doc/dist/dist.tex
+++ b/Doc/dist/dist.tex
@@ -171,12 +171,14 @@ following glossary of common Python terms:
\item[package] a module that contains other modules; typically contained
in a directory in the filesystem and distinguished from other
directories by the presence of a file \file{\_\_init\_\_.py}.
-\item[root package] the ``package'' that modules not in a package live
- in. The vast majority of the standard library is in the root package,
- as are many small, standalone third-party modules that don't belong to
- a larger module collection. (The root package isn't really a package,
- since it doesn't have an \file{\_\_init\_\_.py} file. But we have to
- call it something.)
+\item[root package] the root of the hierarchy of packages. (This isn't
+ really a package, since it doesn't have an \file{\_\_init\_\_.py}
+ file. But we have to call it something.) The vast majority of the
+ standard library is in the root package, as are many small, standalone
+ third-party modules that don't belong to a larger module collection.
+ Unlike regular packages, modules in the root package can be found in
+ many directories: in fact, every directory listed in \code{sys.path}
+ can contribute modules to the root package.
\end{description}