summaryrefslogtreecommitdiffstats
path: root/Doc/library/2to3.rst
diff options
context:
space:
mode:
authorBatuhan Taşkaya <47358913+isidentical@users.noreply.github.com>2020-01-12 22:13:31 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-01-12 22:13:31 (GMT)
commit61b14151cc92021a10f94765eaa152ed04eb262a (patch)
treebe6f59fe41c8da9aa600ebe006701a640c5a2a85 /Doc/library/2to3.rst
parent14dbe4b3f0a888a60e8cc20f3df5aa09c8bb82c3 (diff)
downloadcpython-61b14151cc92021a10f94765eaa152ed04eb262a.zip
cpython-61b14151cc92021a10f94765eaa152ed04eb262a.tar.gz
cpython-61b14151cc92021a10f94765eaa152ed04eb262a.tar.bz2
bpo-39313: Add an option to RefactoringTool for using exec as a function (GH-17967)
https://bugs.python.org/issue39313 Automerge-Triggered-By: @pablogsal
Diffstat (limited to 'Doc/library/2to3.rst')
-rw-r--r--Doc/library/2to3.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst
index c3ff3e60..eb4c918 100644
--- a/Doc/library/2to3.rst
+++ b/Doc/library/2to3.rst
@@ -102,7 +102,7 @@ presence of the ``from __future__ import print_function`` compiler directive, it
modifies its internal grammar to interpret :func:`print` as a function. This
change can also be enabled manually with the :option:`!-p` flag. Use
:option:`!-p` to run fixers on code that already has had its print statements
-converted.
+converted. Also :option:`!-e` can be used to make :func:`exec` a function.
The :option:`!-o` or :option:`!--output-dir` option allows specification of an
alternate directory for processed output files to be written to. The