[Python-checkins] cpython (2.7): Issue #23047: Fix typo in pyporting.rst.

berker.peksag python-checkins at python.org
Sat Dec 13 14:50:53 CET 2014


https://hg.python.org/cpython/rev/f1f404f5422a
changeset:   93871:f1f404f5422a
branch:      2.7
parent:      93867:961f988eaa6a
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sat Dec 13 15:51:18 2014 +0200
summary:
  Issue #23047: Fix typo in pyporting.rst.

Patch by Chaitanya agrawal.

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


diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst
--- a/Doc/howto/pyporting.rst
+++ b/Doc/howto/pyporting.rst
@@ -295,7 +295,7 @@
 
     from __future__ import absolute_import
     from __future__ import division
-    from __future__ import print_statement
+    from __future__ import print_function
     from __future__ import unicode_literals
 
 You can also run Python 2 with the ``-3`` flag to be warned about various

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


More information about the Python-checkins mailing list