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 ........
This commit is contained in:
parent
428e9d1d05
commit
7cb23c673a
|
@ -84,13 +84,6 @@ document could also be refactored with this option.
|
|||
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
|
||||
-------------------------------
|
||||
|
|
Loading…
Reference in New Issue