mirror of https://github.com/python/cpython.git
gh-91541: Fix error in example in modules tutorial (GH-91634)
(cherry picked from commit efbc668183
)
Co-authored-by: 180909 <734461790@qq.com>
This commit is contained in:
parent
833ff16430
commit
c6c9823455
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue