From: Ezio Melotti Date: Thu, 21 Apr 2011 11:49:03 +0000 (+0300) Subject: #11897: Fix typo in porting howto. Patch by Marti Raudsepp. X-Git-Tag: v3.2.1b1~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c17c1f64aa9d8ed68866f2f8bece166ee17a324b;p=thirdparty%2FPython%2Fcpython.git #11897: Fix typo in porting howto. Patch by Marti Raudsepp. --- diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst index 9b8bc2d1a46e..124ef33ae4b5 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.