[Python-checkins] r66665 - python/trunk/Doc/library/2to3.rst
benjamin.peterson
python-checkins at python.org
Sun Sep 28 03:53:29 CEST 2008
Author: benjamin.peterson
Date: Sun Sep 28 03:53:29 2008
New Revision: 66665
Log:
note the 2to3 -d could be useful for other refactoring
Modified:
python/trunk/Doc/library/2to3.rst
Modified: python/trunk/Doc/library/2to3.rst
==============================================================================
--- python/trunk/Doc/library/2to3.rst (original)
+++ python/trunk/Doc/library/2to3.rst Sun Sep 28 03:53:29 2008
@@ -74,7 +74,9 @@
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.
More information about the Python-checkins
mailing list