Skip to content

Commit 6df9baf

Browse files
committed
Clarified misleading cause and effect
1 parent 3aa4b83 commit 6df9baf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Doc/tutorial/modules.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,7 @@ as the main module of a Python application must always use absolute imports.
585585
Packages in Multiple Directories
586586
--------------------------------
587587

588-
Packages support one more special attribute, :attr:`__path__`. This is
589-
initialized to be a list containing the name of the directory holding the
588+
All packages have a special attribute :attr:`__path__`. This is initialized to be a list containing the name of the directory holding the
590589
package's :file:`__init__.py` before the code in that file is executed. This
591590
variable can be modified; doing so affects future searches for modules and
592591
subpackages contained in the package.

0 commit comments

Comments
 (0)