From f3d0ce15029ad9991b8c32a2c9412d4b27f72105 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 19 Oct 2008 19:39:16 +0000 Subject: [PATCH] mention -n --- Doc/library/2to3.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst index 27626e0e52b..9852821ad56 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