diff options
author | Georg Brandl <georg@python.org> | 2008-02-05 12:01:24 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-02-05 12:01:24 (GMT) |
commit | 1cf0522f26c3c40e6d786f38db220197558a973a (patch) | |
tree | ad6597e6e474e29f1842dfb3f2a1ea69ba6cf5db /Doc | |
parent | 0192e43d64aded9476b2ae90427a801f3f36c11c (diff) | |
download | cpython-1cf0522f26c3c40e6d786f38db220197558a973a.zip cpython-1cf0522f26c3c40e6d786f38db220197558a973a.tar.gz cpython-1cf0522f26c3c40e6d786f38db220197558a973a.tar.bz2 |
Convert external links to internal links. Fixes #2010.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/advocacy.rst | 2 | ||||
-rw-r--r-- | Doc/howto/curses.rst | 2 | ||||
-rw-r--r-- | Doc/howto/regex.rst | 2 | ||||
-rw-r--r-- | Doc/howto/unicode.rst | 2 | ||||
-rw-r--r-- | Doc/library/curses.rst | 4 | ||||
-rw-r--r-- | Doc/library/re.rst | 3 |
6 files changed, 9 insertions, 6 deletions
diff --git a/Doc/howto/advocacy.rst b/Doc/howto/advocacy.rst index 7d7706e..669ce72 100644 --- a/Doc/howto/advocacy.rst +++ b/Doc/howto/advocacy.rst @@ -265,7 +265,7 @@ the organizations that use Python. **What are the restrictions on Python's use?** They're practically nonexistent. Consult the :file:`Misc/COPYRIGHT` file in the -source distribution, or http://www.python.org/doc/Copyright.html for the full +source distribution, or the section :ref:`history-and-license` for the full language, but it boils down to three conditions. * You have to leave the copyright notice on the software; if you don't include diff --git a/Doc/howto/curses.rst b/Doc/howto/curses.rst index 2953d36..9cbc827 100644 --- a/Doc/howto/curses.rst +++ b/Doc/howto/curses.rst @@ -1,3 +1,5 @@ +.. _curses-howto: + ********************************** Curses Programming with Python ********************************** diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index cfcae31..cf787e8 100644 --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst @@ -1,3 +1,5 @@ +.. _regex-howto: + **************************** Regular Expression HOWTO **************************** diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst index 16bd5a8..fb84df7 100644 --- a/Doc/howto/unicode.rst +++ b/Doc/howto/unicode.rst @@ -277,7 +277,7 @@ Unicode result). The following examples show the differences:: Encodings are specified as strings containing the encoding's name. Python 2.4 comes with roughly 100 different encodings; see the Python Library Reference at -<http://docs.python.org/lib/standard-encodings.html> for a list. Some encodings +:ref:`standard-encodings` for a list. Some encodings have multiple names; for example, 'latin-1', 'iso_8859_1' and '8859' are all synonyms for the same encoding. diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index 836a775..7e5090a 100644 --- a/Doc/library/curses.rst +++ b/Doc/library/curses.rst @@ -48,9 +48,9 @@ Linux and the BSD variants of Unix. Convenience function to ensure proper terminal setup and resetting on application entry and exit. - `Curses Programming with Python <http://www.python.org/doc/howto/curses/curses.html>`_ + :ref:`curses-howto` Tutorial material on using curses with Python, by Andrew Kuchling and Eric - Raymond, is available on the Python Web site. + Raymond. The :file:`Demo/curses/` directory in the Python source distribution contains some example programs using the curses bindings provided by this module. diff --git a/Doc/library/re.rst b/Doc/library/re.rst index dd22835..5fd3dd5 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -65,8 +65,7 @@ and implementation of regular expressions, consult the Friedl book referenced above, or almost any textbook about compiler construction. A brief explanation of the format of regular expressions follows. For further -information and a gentler presentation, consult the Regular Expression HOWTO, -accessible from http://www.python.org/doc/howto/. +information and a gentler presentation, consult the :ref:`regex-howto`. Regular expressions can contain both special and ordinary characters. Most ordinary characters, like ``'A'``, ``'a'``, or ``'0'``, are the simplest regular |