[Python-checkins] cpython (3.2): #11897: Fix typo in porting howto. Patch by Marti Raudsepp.

ezio.melotti python-checkins at python.org
Thu Apr 21 13:50:32 CEST 2011


http://hg.python.org/cpython/rev/05a7d3048c49
changeset:   69507:05a7d3048c49
branch:      3.2
parent:      69501:0560f023a28d
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Thu Apr 21 14:49:03 2011 +0300
summary:
  #11897: Fix typo in porting howto. Patch by Marti Raudsepp.

files:
  Doc/howto/pyporting.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst
--- a/Doc/howto/pyporting.rst
+++ b/Doc/howto/pyporting.rst
@@ -247,8 +247,8 @@
 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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list