diff options
| author | 180909 <734461790@qq.com> | 2022-04-18 05:17:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-17 14:17:04 -0700 |
| commit | efbc668183400597070356a2df2fbab114a53cb3 (patch) | |
| tree | 3166a980370812f1217337a45c12af22fe730273 /Doc/tutorial | |
| parent | 017f07a229a337e9c17bed8cd1879e0177a8d89d (diff) | |
| download | cpython-git-efbc668183400597070356a2df2fbab114a53cb3.tar.gz | |
gh-91541: Fix error in example in modules tutorial (#91634)
Diffstat (limited to 'Doc/tutorial')
| -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 0d1fadadf8..524d3c3241 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 |
