From: Benjamin Peterson Date: Sun, 19 Oct 2008 19:39:16 +0000 (+0000) Subject: mention -n X-Git-Tag: v2.7a1~2718 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3d0ce15029ad9991b8c32a2c9412d4b27f72105;p=thirdparty%2FPython%2Fcpython.git mention -n --- diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst index 27626e0e52bb..9852821ad566 100644 --- a/Doc/library/2to3.rst +++ b/Doc/library/2to3.rst @@ -37,8 +37,8 @@ It can be converted to Python 3.x code via 2to3 on the command line:: A diff against the original source file is printed. 2to3 can also write the needed modifications right back to the source file. (Of course, a backup of the -original is also be made.) Writing the changes back is enabled with the -:option:`-w` flag:: +original is also be made unless :option:`-n` is also given.) Writing the +changes back is enabled with the :option:`-w` flag:: $ 2to3 -w example.py