8000 gh-102703: Fix typo in modules tutorial documentation (GH-102707) · python/cpython@95fd2df · GitHub
[go: up one dir, main page]

Skip to content

Commit 95fd2df

Browse files
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 ... (cherry picked from commit 0a539b5) Co-authored-by: Robert Prater (B. Eng) <robcprater@gmail.com>
1 parent df38f7c commit 95fd2df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ When importing the package, Python searches through the directories on
434434

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

0 commit comments

Comments
 (0)
0