[Python-checkins] cpython (2.7): Fix 2to3 reference link in pyporting.rst.

ned.deily python-checkins at python.org
Sun Nov 23 01:04:45 CET 2014


https://hg.python.org/cpython/rev/414332e55f6c
changeset:   93541:414332e55f6c
branch:      2.7
parent:      93539:b171834c63e7
user:        Ned Deily <nad at acm.org>
date:        Sat Nov 22 16:03:40 2014 -0800
summary:
  Fix 2to3 reference link in pyporting.rst.

files:
  Doc/howto/pyporting.rst |  7 +++----
  1 files changed, 3 insertions(+), 4 deletions(-)


diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst
--- a/Doc/howto/pyporting.rst
+++ b/Doc/howto/pyporting.rst
@@ -565,10 +565,9 @@
 ---------------------------------------------------------
 
 If you have Python 2 code but going forward only want to improve it as Python 3
-code, then you can use 2to3_ to translate your Python 2 code to Python 3 code.
-This is only recommended, though, if your current version of your project is
-going into maintenance mode and you want all new features to be exclusive to
-Python 3.
+code, then you can use :ref:`2to3 <2to3-reference>` to translate your Python 2
+code to Python 3 code.  This is only recommended, though, if your current
+version of your project is going into maintenance mode and you want all new features to be exclusive to Python 3.
 
 
 Backporting Python 3 code to Python 2

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list