From: Raymond Hettinger Date: Sat, 26 Oct 2002 03:13:57 +0000 (+0000) Subject: Clarify packages in tutorial. Closes SF bug #616211. X-Git-Tag: v2.3c1~3677 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7fbd01262cab438eb57a72bb66a46c9311aecec2;p=thirdparty%2FPython%2Fcpython.git Clarify packages in tutorial. Closes SF bug #616211. --- diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 18e26e4f3f46..5bbab35bc1c0 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -2556,6 +2556,9 @@ Sound/ Top-level package ... \end{verbatim} +When importing the package, Python searchs through the directories +on \code{sys.path} looking for the package subdirectory. + 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