]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarify packages in tutorial. Closes SF bug #616211.
authorRaymond Hettinger <python@rcn.com>
Sat, 26 Oct 2002 03:15:03 +0000 (03:15 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 26 Oct 2002 03:15:03 +0000 (03:15 +0000)
Doc/tut/tut.tex

index 07cda7b84d9bd497f01fd38ec4291d8bf9b7e1a7..61d46920055572e58e167432876f497a5f10d95f 100644 (file)
@@ -2543,6 +2543,10 @@ Sound/                          Top-level package
               ...
 \end{verbatim}
 
+When importing the package, Python searchs through the directories
+on \code{sys.path} looking for a subdirectory containing the
+top-level package.
+
 The \file{__init__.py} files are required to make Python treat the
 directories as containing packages; this is done to prevent
 directories with a common name, such as \samp{string}, from