From: Greg Ward Date: Fri, 26 May 2000 02:24:28 +0000 (+0000) Subject: Guido's rewording of my definition of "root package", with an addition by me. X-Git-Tag: v2.0b1~1666 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6153fa19ce701a4d5f9ced5a829b7ad5f8ea7700;p=thirdparty%2FPython%2Fcpython.git Guido's rewording of my definition of "root package", with an addition by me. --- diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex index 04b1c8a5072e..60a42d18b5e8 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}