From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 17 Apr 2022 21:40:14 +0000 (-0700) Subject: gh-91541: Fix error in example in modules tutorial (GH-91634) X-Git-Tag: v3.9.13~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6c98234552ba0ddc696c17d27eb48cc89d20abf;p=thirdparty%2FPython%2Fcpython.git gh-91541: Fix error in example in modules tutorial (GH-91634) (cherry picked from commit efbc668183400597070356a2df2fbab114a53cb3) Co-authored-by: 180909 <734461790@qq.com> --- diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst index f6250291c882..afce7f81d226 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