[Python-checkins] r84471 - python/branches/py3k/Doc/reference/simple_stmts.rst

florent.xicluna python-checkins at python.org
Fri Sep 3 22:23:40 CEST 2010


Author: florent.xicluna
Date: Fri Sep  3 22:23:40 2010
New Revision: 84471

Log:
Typo

Modified:
   python/branches/py3k/Doc/reference/simple_stmts.rst

Modified: python/branches/py3k/Doc/reference/simple_stmts.rst
==============================================================================
--- python/branches/py3k/Doc/reference/simple_stmts.rst	(original)
+++ python/branches/py3k/Doc/reference/simple_stmts.rst	Fri Sep  3 22:23:40 2010
@@ -823,7 +823,7 @@
 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


More information about the Python-checkins mailing list