summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-09-28 01:53:29 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-09-28 01:53:29 (GMT)
commitb51f81def4b1dd8e9514a861060ddf2921e64f2a (patch)
tree2aca859536ee7ea011a146bbfa197b002883e45a /Doc
parent4fad6fa56037b57f08af11def1b7dea5145bf000 (diff)
downloadcpython-b51f81def4b1dd8e9514a861060ddf2921e64f2a.zip
cpython-b51f81def4b1dd8e9514a861060ddf2921e64f2a.tar.gz
cpython-b51f81def4b1dd8e9514a861060ddf2921e64f2a.tar.bz2
note the 2to3 -d could be useful for other refactoring
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/2to3.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst
index e603b45..2e9547c6 100644
--- a/Doc/library/2to3.rst
+++ b/Doc/library/2to3.rst
@@ -74,7 +74,9 @@ warning beneath the diff for a file. You should address the warning in order to
have compliant 3.x code.
2to3 can also refactor doctests. To enable this mode, use the :option:`-d`
-flag. Note that *only* doctests will be refactored.
+flag. Note that *only* doctests will be refactored. This also doesn't require
+the module to be valid Python. For example, doctest like examples in a reST
+document could also be refactored with this option.
The :option:`-v` option enables the output of more information on the
translation process.