]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Typo
authorFlorent Xicluna <florent.xicluna@gmail.com>
Fri, 3 Sep 2010 20:23:40 +0000 (20:23 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Fri, 3 Sep 2010 20:23:40 +0000 (20:23 +0000)
Doc/reference/simple_stmts.rst

index e3b309cd4148bb179a6ad114b1431f15ce191280..378efc7a75a82d44bfee1b8a0470484c90dc415f 100644 (file)
@@ -823,7 +823,7 @@ leading dot means the current package where the module making the import
 exists. Two dots means up one package level. Three dots is up two levels, etc.
 So if you execute ``from . import mod`` from a module in the ``pkg`` package
 then you will end up importing ``pkg.mod``. If you execute ``from ..subpkg2
-imprt mod`` from within ``pkg.subpkg1`` you will import ``pkg.subpkg2.mod``.
+import mod`` from within ``pkg.subpkg1`` you will import ``pkg.subpkg2.mod``.
 The specification for relative imports is contained within :pep:`328`.
 
 :func:`importlib.import_module` is provided to support applications that