Skip to content

Commit 0a539b5

Browse files
authored
gh-102703: Fix typo in modules tutorial documentation (GH-102707)
**Before** This prevents directories with a common name, such as ``string``, unintentionally hiding ... **After** This prevents directories with a common name, such as ``string``, from unintentionally hiding ...
1 parent 152292b commit 0a539b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/modules.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ When importing the package, Python searches through the directories on
438438

439439
The :file:`__init__.py` files are required to make Python treat directories
440440
containing the file as packages. This prevents directories with a common name,
441-
such as ``string``, unintentionally hiding valid modules that occur later
441+
such as ``string``, from unintentionally hiding valid modules that occur later
442442
on the module search path. In the simplest case, :file:`__init__.py` can just be
443443
an empty file, but it can also execute initialization code for the package or
444444
set the ``__all__`` variable, described later.

0 commit comments

Comments
 (0)