From 7fbd01262cab438eb57a72bb66a46c9311aecec2 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 26 Oct 2002 03:13:57 +0000 Subject: [PATCH] Clarify packages in tutorial. Closes SF bug #616211. --- Doc/tut/tut.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 18e26e4f3f4..5bbab35bc1c 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