mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
This should really be a comment.
This commit is contained in:
@@ -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__
|
||||
|
||||
|
||||
Reference in New Issue
Block a user