diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-04-17 21:40:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-17 21:40:14 (GMT) |
commit | c6c98234552ba0ddc696c17d27eb48cc89d20abf (patch) | |
tree | db26b98923261615be89469148232f44f57077a2 | |
parent | 833ff16430644a7dacafb061b8a5509818c8b0f7 (diff) | |
download | cpython-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.rst | 2 |
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 |