Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fbd012

Browse files
committed
Clarify packages in tutorial. Closes SF bug #616211.
1 parent 0eebd5c commit 7fbd012

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/tut/tut.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2556,6 +2556,9 @@ \section{Packages \label{packages}}
25562556
...
25572557
\end{verbatim}
25582558

2559+
When importing the package, Python searchs through the directories
2560+
on \code{sys.path} looking for the package subdirectory.
2561+
25592562
The \file{__init__.py} files are required to make Python treat the
25602563
directories as containing packages; this is done to prevent
25612564
directories with a common name, such as \samp{string}, from

0 commit comments

Comments
 (0)