diff options
author | 180909 <734461790@qq.com> | 2022-04-17 21:17:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-17 21:17:04 (GMT) |
commit | efbc668183400597070356a2df2fbab114a53cb3 (patch) | |
tree | 3166a980370812f1217337a45c12af22fe730273 /Doc | |
parent | 017f07a229a337e9c17bed8cd1879e0177a8d89d (diff) | |
download | cpython-efbc668183400597070356a2df2fbab114a53cb3.zip cpython-efbc668183400597070356a2df2fbab114a53cb3.tar.gz cpython-efbc668183400597070356a2df2fbab114a53cb3.tar.bz2 |
gh-91541: Fix error in example in modules tutorial (#91634)
Diffstat (limited to 'Doc')
-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 0d1fada..524d3c3 100644 --- a/Doc/tutorial/modules.rst +++ b/Doc/tutorial/modules.rst @@ -508,7 +508,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 |