[Python-checkins] gh-91541: Fix error in example in modules tutorial (GH-91634)

miss-islington webhook-mailer at python.org
Sun Apr 17 17:31:08 EDT 2022


https://github.com/python/cpython/commit/e5636f3a0eb86932175c26fe602e0f53b6d3cbb9
commit: e5636f3a0eb86932175c26fe602e0f53b6d3cbb9
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-04-17T14:30:57-07:00
summary:

gh-91541: Fix error in example in modules tutorial (GH-91634)

(cherry picked from commit efbc668183400597070356a2df2fbab114a53cb3)

Co-authored-by: 180909 <734461790 at qq.com>

files:
M Doc/tutorial/modules.rst

diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
index f1d4957e37eb1..47c1f1877d696 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



More information about the Python-checkins mailing list