summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-03-15 00:10:39 (GMT)
committerGitHub <noreply@github.com>2023-03-15 00:10:39 (GMT)
commit95fd2dfd3f3c0e02cb0ecb21e594663a46d8542c (patch)
tree935ee1a29d1cc653daa44b08b4d2ae0292e7325d /Doc/tutorial
parentdf38f7c577206bc82090222f36529db680285478 (diff)
downloadcpython-95fd2dfd3f3c0e02cb0ecb21e594663a46d8542c.zip
cpython-95fd2dfd3f3c0e02cb0ecb21e594663a46d8542c.tar.gz
cpython-95fd2dfd3f3c0e02cb0ecb21e594663a46d8542c.tar.bz2
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 0a539b5db312d126ff45dd4aa6a53d40a292c512) Co-authored-by: Robert Prater (B. Eng) <robcprater@gmail.com>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/modules.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
index 5282c68..11a7c33 100644
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -434,7 +434,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.