]> granicus.if.org Git - python/commitdiff
#11897: Fix typo in porting howto. Patch by Marti Raudsepp.
authorEzio Melotti <ezio.melotti@gmail.com>
Thu, 21 Apr 2011 11:49:03 +0000 (14:49 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Thu, 21 Apr 2011 11:49:03 +0000 (14:49 +0300)
Doc/howto/pyporting.rst

index 9b8bc2d1a46e7c3d0b4b2335ed7825ccd646c303..124ef33ae4b52c8c98cd8808557f0b4f1e7caa32 100644 (file)
@@ -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.