diff options
| author | Robert Prater (B. Eng) <robcprater@gmail.com> | 2023-03-14 20:03:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-14 17:03:43 -0700 |
| commit | 0a539b5db312d126ff45dd4aa6a53d40a292c512 (patch) | |
| tree | a8b7b1d6469dc5d59f4248bfd95a324ad4356d13 /Doc/tutorial | |
| parent | 152292b98fd52f8b3db252e5609d6a605a11cb57 (diff) | |
| download | cpython-git-0a539b5db312d126ff45dd4aa6a53d40a292c512.tar.gz | |
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 ...
Diffstat (limited to 'Doc/tutorial')
| -rw-r--r-- | Doc/tutorial/modules.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst index ad70d92994..4daafa49a3 100644 --- a/Doc/tutorial/modules.rst +++ b/Doc/tutorial/modules.rst @@ -438,7 +438,7 @@ When importing the package, Python searches through the directories on The :file:`__init__.py` files are required to make Python treat directories containing the file as packages. This prevents directories with a common name, -such as ``string``, unintentionally hiding valid modules that occur later +such as ``string``, from unintentionally hiding valid modules that occur later on the module search path. In the simplest case, :file:`__init__.py` can just be an empty file, but it can also execute initialization code for the package or set the ``__all__`` variable, described later. |
