summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-04-21 14:49:03 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2011-04-21 14:49:03 +0300
commitc17c1f64aa9d8ed68866f2f8bece166ee17a324b (patch)
tree4af15ff801ae21bc99acca4152f1c030bd87c7f2
parentf745d8be46dd4cb60def1a794934488804951104 (diff)
downloadcpython-git-c17c1f64aa9d8ed68866f2f8bece166ee17a324b.tar.gz
#11897: Fix typo in porting howto. Patch by Marti Raudsepp.
-rw-r--r--Doc/howto/pyporting.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst
index 9b8bc2d1a4..124ef33ae4 100644
--- a/Doc/howto/pyporting.rst
+++ b/Doc/howto/pyporting.rst
@@ -247,8 +247,8 @@ If you are supporting `Python 2.5`_ and newer there are still some features of
Python that you can utilize.
-``from __future__ import absolute_imports``
-'''''''''''''''''''''''''''''''''''''''''''
+``from __future__ import absolute_import``
+''''''''''''''''''''''''''''''''''''''''''
Implicit relative imports (e.g., importing ``spam.bacon`` from within
``spam.eggs`` with the statement ``import bacon``) does not work in Python 3.