[Python-checkins] r74112 - in python/branches/release26-maint: Doc/library/2to3.rst

benjamin.peterson python-checkins at python.org
Mon Jul 20 15:33:05 CEST 2009


Author: benjamin.peterson
Date: Mon Jul 20 15:33:05 2009
New Revision: 74112

Log:
Merged revisions 74111 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74111 | benjamin.peterson | 2009-07-20 08:30:10 -0500 (Mon, 20 Jul 2009) | 1 line
  
  remove docs for deprecated -p option
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Doc/library/2to3.rst

Modified: python/branches/release26-maint/Doc/library/2to3.rst
==============================================================================
--- python/branches/release26-maint/Doc/library/2to3.rst	(original)
+++ python/branches/release26-maint/Doc/library/2to3.rst	Mon Jul 20 15:33:05 2009
@@ -84,13 +84,6 @@
 The :option:`-v` option enables output of more information on the translation
 process.
 
-When the :option:`-p` is passed, 2to3 treats ``print`` as a function instead of
-a statement.  This is useful when ``from __future__ import print_function`` is
-being used.  If this option is not given, the print fixer will surround print
-calls in an extra set of parentheses because it cannot differentiate between the
-print statement with parentheses (such as ``print ("a" + "b" + "c")``) and a
-true function call.
-
 
 :mod:`lib2to3` - 2to3's library
 -------------------------------


More information about the Python-checkins mailing list