[Python-checkins] r60590 - in python/trunk/Doc: howto/advocacy.rst howto/curses.rst howto/regex.rst howto/unicode.rst library/curses.rst library/re.rst
georg.brandl
python-checkins at python.org
Tue Feb 5 13:01:24 CET 2008
Author: georg.brandl
Date: Tue Feb 5 13:01:24 2008
New Revision: 60590
Modified:
python/trunk/Doc/howto/advocacy.rst
python/trunk/Doc/howto/curses.rst
python/trunk/Doc/howto/regex.rst
python/trunk/Doc/howto/unicode.rst
python/trunk/Doc/library/curses.rst
python/trunk/Doc/library/re.rst
Log:
Convert external links to internal links. Fixes #2010.
Modified: python/trunk/Doc/howto/advocacy.rst
==============================================================================
--- python/trunk/Doc/howto/advocacy.rst (original)
+++ python/trunk/Doc/howto/advocacy.rst Tue Feb 5 13:01:24 2008
@@ -265,7 +265,7 @@
**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
Modified: python/trunk/Doc/howto/curses.rst
==============================================================================
--- python/trunk/Doc/howto/curses.rst (original)
+++ python/trunk/Doc/howto/curses.rst Tue Feb 5 13:01:24 2008
@@ -1,3 +1,5 @@
+.. _curses-howto:
+
**********************************
Curses Programming with Python
**********************************
Modified: python/trunk/Doc/howto/regex.rst
==============================================================================
--- python/trunk/Doc/howto/regex.rst (original)
+++ python/trunk/Doc/howto/regex.rst Tue Feb 5 13:01:24 2008
@@ -1,3 +1,5 @@
+.. _regex-howto:
+
****************************
Regular Expression HOWTO
****************************
Modified: python/trunk/Doc/howto/unicode.rst
==============================================================================
--- python/trunk/Doc/howto/unicode.rst (original)
+++ python/trunk/Doc/howto/unicode.rst Tue Feb 5 13:01:24 2008
@@ -277,7 +277,7 @@
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.
Modified: python/trunk/Doc/library/curses.rst
==============================================================================
--- python/trunk/Doc/library/curses.rst (original)
+++ python/trunk/Doc/library/curses.rst Tue Feb 5 13:01:24 2008
@@ -48,9 +48,9 @@
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.
Modified: python/trunk/Doc/library/re.rst
==============================================================================
--- python/trunk/Doc/library/re.rst (original)
+++ python/trunk/Doc/library/re.rst Tue Feb 5 13:01:24 2008
@@ -65,8 +65,7 @@
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
More information about the Python-checkins
mailing list