Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/tutorial/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@
Packages in Multiple Directories
--------------------------------

Packages support one more special attribute, :attr:`~module.__path__`. This is
All packages have a special attribute :attr:`__path__`. This is

Check warning on line 590 in Doc/tutorial/modules.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:attr reference target not found: __path__ [ref.attr]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
All packages have a special attribute :attr:`__path__`. This is
All packages have a special attribute, :attr:`~module.__path__`. This is

To fix the error.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

initialized to be a :term:`sequence` of strings containing the name of the
directory holding the
package's :file:`__init__.py` before the code in that file is executed. This
Expand Down
Loading