summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-10-08 18:57:31 (GMT)
committerGeorg Brandl <georg@python.org>2008-10-08 18:57:31 (GMT)
commite78d352385999a9e9300ad289efaecbd9ebd8635 (patch)
tree90b0e33a1a6ceaed1c8803896b53cb22b4f6511a /Doc/whatsnew
parent0136e7980547cdb3e759c144c96873d508dd5c29 (diff)
downloadcpython-e78d352385999a9e9300ad289efaecbd9ebd8635.zip
cpython-e78d352385999a9e9300ad289efaecbd9ebd8635.tar.gz
cpython-e78d352385999a9e9300ad289efaecbd9ebd8635.tar.bz2
Backport r66857: make all whatsnew docs accessible.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.5.rst12
-rw-r--r--Doc/whatsnew/index.rst20
2 files changed, 25 insertions, 7 deletions
diff --git a/Doc/whatsnew/2.5.rst b/Doc/whatsnew/2.5.rst
index 925fd0f..0b4d954 100644
--- a/Doc/whatsnew/2.5.rst
+++ b/Doc/whatsnew/2.5.rst
@@ -16,9 +16,9 @@ release schedule.
The changes in Python 2.5 are an interesting mix of language and library
improvements. The library enhancements will be more important to Python's user
community, I think, because several widely-useful packages were added. New
-modules include ElementTree for XML processing (section :ref:`module-etree`),
-the SQLite database module (section :ref:`module-sqlite`), and the :mod:`ctypes`
-module for calling C functions (section :ref:`module-ctypes`).
+modules include ElementTree for XML processing (:mod:`xml.etree`),
+the SQLite database module (:mod:`sqlite`), and the :mod:`ctypes`
+module for calling C functions.
The language changes are of middling significance. Some pleasant new features
were added, but most of them aren't features that you'll use every day.
@@ -736,7 +736,7 @@ add a :keyword:`return` statement at the marked location. ::
# return False
-.. _module-contextlib:
+.. _contextlibmod:
The contextlib module
---------------------
@@ -1273,7 +1273,7 @@ complete list of changes, or look through the SVN logs for all the details.
(Contributed by Raymond Hettinger.)
* New module: The :mod:`contextlib` module contains helper functions for use
- with the new ':keyword:`with`' statement. See section :ref:`module-contextlib`
+ with the new ':keyword:`with`' statement. See section :ref:`contextlibmod`
for more about this module.
* New module: The :mod:`cProfile` module is a C implementation of the existing
@@ -2272,8 +2272,6 @@ code:
.. ======================================================================
-.. _acks:
-
Acknowledgements
================
diff --git a/Doc/whatsnew/index.rst b/Doc/whatsnew/index.rst
new file mode 100644
index 0000000..b66fd3a
--- /dev/null
+++ b/Doc/whatsnew/index.rst
@@ -0,0 +1,20 @@
+.. _whatsnew-index:
+
+######################
+ What's New in Python
+######################
+
+The "What's New in Python" series of essays takes tours through the most
+important changes between major Python versions. They are a "must read" for
+anyone wishing to stay up-to-date after a new release.
+
+.. toctree::
+ :maxdepth: 1
+
+ 2.6.rst
+ 2.5.rst
+ 2.4.rst
+ 2.3.rst
+ 2.2.rst
+ 2.1.rst
+ 2.0.rst