Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c8414e

Browse files
committed
Typo
1 parent edf5f0d commit 0c8414e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/simple_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ leading dot means the current package where the module making the import
823823
exists. Two dots means up one package level. Three dots is up two levels, etc.
824824
So if you execute ``from . import mod`` from a module in the ``pkg`` package
825825
then you will end up importing ``pkg.mod``. If you execute ``from ..subpkg2
826-
imprt mod`` from within ``pkg.subpkg1`` you will import ``pkg.subpkg2.mod``.
826+
import mod`` from within ``pkg.subpkg1`` you will import ``pkg.subpkg2.mod``.
827827
The specification for relative imports is contained within :pep:`328`.
828828

829829
:func:`importlib.import_module` is provided to support applications that

0 commit comments

Comments
 (0)