diff options
author | Raymond Hettinger <python@rcn.com> | 2002-10-26 03:13:57 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-10-26 03:13:57 (GMT) |
commit | 7fbd01262cab438eb57a72bb66a46c9311aecec2 (patch) | |
tree | fbc6d60614e89d230bdf5d89e224f972cf2ef628 /Doc/tut | |
parent | 0eebd5cef982686b9438b35d4c4ed395f437ff3e (diff) | |
download | cpython-7fbd01262cab438eb57a72bb66a46c9311aecec2.zip cpython-7fbd01262cab438eb57a72bb66a46c9311aecec2.tar.gz cpython-7fbd01262cab438eb57a72bb66a46c9311aecec2.tar.bz2 |
Clarify packages in tutorial. Closes SF bug #616211.
Diffstat (limited to 'Doc/tut')
-rw-r--r-- | Doc/tut/tut.tex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 18e26e4..5bbab35 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 |