[Python-checkins] cpython (2.7): Fix external links to docs.python.org to use internal links instead.

georg.brandl python-checkins at python.org
Wed Oct 29 09:02:01 CET 2014


https://hg.python.org/cpython/rev/aa76d9399b72
changeset:   93240:aa76d9399b72
branch:      2.7
user:        Georg Brandl <georg at python.org>
date:        Wed Oct 29 09:00:30 2014 +0100
summary:
  Fix external links to docs.python.org to use internal links instead.

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


diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst
--- a/Doc/howto/pyporting.rst
+++ b/Doc/howto/pyporting.rst
@@ -39,7 +39,9 @@
 
 With that done, your options are:
 
-* If you are dropping Python 2 support, use 2to3_ to port to Python 3
+* If you are dropping Python 2 support, use :ref:`2to3 <2to3-reference>` to port
+  to Python 3
+
 * If you are keeping Python 2 support, then start writing Python 2/3-compatible
   code starting **TODAY**
 
@@ -601,8 +603,6 @@
 please email the python-porting_ mailing list.
 
 
-
-.. _2to3: https://docs.python.org/2/library/2to3.html
 .. _3to2: https://pypi.python.org/pypi/3to2
 .. _Cheeseshop: PyPI_
 .. _coverage: https://pypi.python.org/pypi/coverage

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


More information about the Python-checkins mailing list