mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
This should really be a comment.
This commit is contained in:
parent
632f631c48
commit
290d3d994a
1 changed files with 7 additions and 4 deletions
|
|
@ -743,10 +743,13 @@ raise a :exc:`SyntaxError`.
|
|||
the module search path is carried out differently. The sequence of identifiers
|
||||
up to the last dot is used to find a "package"; the final identifier is then
|
||||
searched inside the package. A package is generally a subdirectory of a
|
||||
directory on ``sys.path`` that has a file :file:`__init__.py`. [XXX Can't be
|
||||
bothered to spell this out right now; see the URL
|
||||
http://www.python.org/doc/essays/packages.html for more details, also about how
|
||||
the module search works from inside a package.]
|
||||
directory on ``sys.path`` that has a file :file:`__init__.py`.
|
||||
|
||||
..
|
||||
[XXX Can't be
|
||||
bothered to spell this out right now; see the URL
|
||||
http://www.python.org/doc/essays/packages.html for more details, also about how
|
||||
the module search works from inside a package.]
|
||||
|
||||
.. index:: builtin: __import__
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue