summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-04-17 21:40:14 (GMT)
committerGitHub <noreply@github.com>2022-04-17 21:40:14 (GMT)
commitc6c98234552ba0ddc696c17d27eb48cc89d20abf (patch)
treedb26b98923261615be89469148232f44f57077a2
parent833ff16430644a7dacafb061b8a5509818c8b0f7 (diff)
downloadcpython-c6c98234552ba0ddc696c17d27eb48cc89d20abf.zip
cpython-c6c98234552ba0ddc696c17d27eb48cc89d20abf.tar.gz
cpython-c6c98234552ba0ddc696c17d27eb48cc89d20abf.tar.bz2
gh-91541: Fix error in example in modules tutorial (GH-91634)
(cherry picked from commit efbc668183400597070356a2df2fbab114a53cb3) Co-authored-by: 180909 <734461790@qq.com>
-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 f625029..afce7f8 100644
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -504,7 +504,7 @@ code::
__all__ = ["echo", "surround", "reverse"]
This would mean that ``from sound.effects import *`` would import the three
-named submodules of the :mod:`sound` package.
+named submodules of the :mod:`sound.effects` package.
If ``__all__`` is not defined, the statement ``from sound.effects import *``
does *not* import all submodules from the package :mod:`sound.effects` into the