summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-09-03 20:23:40 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-09-03 20:23:40 (GMT)
commit0c8414e991c195952951139f260b926fb5db7e22 (patch)
tree166387a2617d809590db6f005249746206b06fe3 /Doc
parentedf5f0ddc03387bedf2856adda6dbdea353caeba (diff)
downloadcpython-0c8414e991c195952951139f260b926fb5db7e22.zip
cpython-0c8414e991c195952951139f260b926fb5db7e22.tar.gz
cpython-0c8414e991c195952951139f260b926fb5db7e22.tar.bz2
Typo
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/simple_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index e3b309c..378efc7 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -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