From: Ned Deily Date: Sun, 23 Nov 2014 00:03:40 +0000 (-0800) Subject: Fix 2to3 reference link in pyporting.rst. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86b36e5ec5e55ca369d25f2f127f28765af3ce25;p=python Fix 2to3 reference link in pyporting.rst. --- diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst index 483dcae686..212853e236 100644 --- a/Doc/howto/pyporting.rst +++ b/Doc/howto/pyporting.rst @@ -565,10 +565,9 @@ Supporting Only Python 3 Going Forward From Python 2 Code --------------------------------------------------------- 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