summaryrefslogtreecommitdiffstats
path: root/Doc/howto/pyporting.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-04-21 11:49:03 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-04-21 11:49:03 (GMT)
commitc17c1f64aa9d8ed68866f2f8bece166ee17a324b (patch)
tree4af15ff801ae21bc99acca4152f1c030bd87c7f2 /Doc/howto/pyporting.rst
parentf745d8be46dd4cb60def1a794934488804951104 (diff)
downloadcpython-c17c1f64aa9d8ed68866f2f8bece166ee17a324b.zip
cpython-c17c1f64aa9d8ed68866f2f8bece166ee17a324b.tar.gz
cpython-c17c1f64aa9d8ed68866f2f8bece166ee17a324b.tar.bz2
#11897: Fix typo in porting howto. Patch by Marti Raudsepp.
Diffstat (limited to 'Doc/howto/pyporting.rst')
-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 9b8bc2d..124ef33 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.