]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add a few missing source links from 2.7 and harmonize lib docs headers
authorÉric Araujo <merwok@netwok.org>
Thu, 18 Aug 2011 22:49:18 +0000 (00:49 +0200)
committerÉric Araujo <merwok@netwok.org>
Thu, 18 Aug 2011 22:49:18 +0000 (00:49 +0200)
Doc/library/argparse.rst
Doc/library/atexit.rst
Doc/library/concurrent.futures.rst
Doc/library/optparse.rst
Doc/library/string.rst
Doc/library/sysconfig.rst
Doc/library/urllib.parse.rst

index 8d602fed1166e775b9a9bc4b2bb8caa1e9c1b4b5..612c15263a021b9687784cbf8ba61a3f430400b0 100644 (file)
@@ -6,10 +6,10 @@
 .. moduleauthor:: Steven Bethard <steven.bethard@gmail.com>
 .. sectionauthor:: Steven Bethard <steven.bethard@gmail.com>
 
-**Source code:** :source:`Lib/argparse.py`
-
 .. versionadded:: 3.2
 
+**Source code:** :source:`Lib/argparse.py`
+
 --------------
 
 The :mod:`argparse` module makes it easy to write user-friendly command-line
index 5b87b94ca153258d3f2d41251960406f6e2282da..f2dccc2c9151289f46c2ad3f1f72d87967159d10 100644 (file)
@@ -6,6 +6,9 @@
 .. moduleauthor:: Skip Montanaro <skip@pobox.com>
 .. sectionauthor:: Skip Montanaro <skip@pobox.com>
 
+**Source code:** :source:`Lib/atexit.py`
+
+--------------
 
 The :mod:`atexit` module defines functions to register and unregister cleanup
 functions.  Functions thus registered are automatically executed upon normal
index e5d13f37f3c2feff8fa82b26262d072281cba1c8..2359dd1ad0ffff403d232c8060f6e17d1fa2e3d7 100644 (file)
@@ -4,11 +4,11 @@
 .. module:: concurrent.futures
    :synopsis: Execute computations concurrently using threads or processes.
 
+.. versionadded:: 3.2
+
 **Source code:** :source:`Lib/concurrent/futures/thread.py`
 and :source:`Lib/concurrent/futures/process.py`
 
-.. versionadded:: 3.2
-
 --------------
 
 The :mod:`concurrent.futures` module provides a high-level interface for
index fddc1fbe8b84e37dafff79c29f636443618f2df9..7d2d91bfb8046b87ea402dbd23a31955632e282f 100644 (file)
@@ -7,14 +7,14 @@
 .. moduleauthor:: Greg Ward <gward@python.net>
 .. sectionauthor:: Greg Ward <gward@python.net>
 
+.. deprecated:: 3.2
+  The :mod:`optparse` module is deprecated and will not be developed further;
+  development will continue with the :mod:`argparse` module.
+
 **Source code:** :source:`Lib/optparse.py`
 
 --------------
 
-.. deprecated:: 2.7
-  The :mod:`optparse` module is deprecated and will not be developed further;
-  development will continue with the :mod:`argparse` module.
-
 :mod:`optparse` is a more convenient, flexible, and powerful library for parsing
 command-line options than the old :mod:`getopt` module.  :mod:`optparse` uses a
 more declarative style of command-line parsing: you create an instance of
index 3f9ec0b786011336f41b5d86fed4882739dd0c78..2443180f315fcc2ab1b329a0bfe07cf17a437a56 100644 (file)
@@ -4,6 +4,9 @@
 .. module:: string
    :synopsis: Common string operations.
 
+**Source code:** :source:`Lib/string.py`
+
+--------------
 
 .. seealso::
 
 
    :ref:`string-methods`
 
-**Source code:** :source:`Lib/string.py`
-
---------------
-
 String constants
 ----------------
 
index 1e89bd02eed446cad5124e6f02d6f0a030a39e34..5b2509a909659e4cf069695f5be1fb14cb7c2b88 100644 (file)
@@ -3,15 +3,16 @@
 
 .. module:: sysconfig
    :synopsis: Python's configuration information
-.. moduleauthor:: Tarek Ziade <tarek@ziade.org>
-.. sectionauthor:: Tarek Ziade <tarek@ziade.org>
+.. moduleauthor:: Tarek Ziadé <tarek@ziade.org>
+.. sectionauthor:: Tarek Ziadé <tarek@ziade.org>
+
 .. index::
    single: configuration information
 
-**Source code:** :source:`Lib/sysconfig.py`
-
 .. versionadded:: 3.2
 
+**Source code:** :source:`Lib/sysconfig.py`
+
 --------------
 
 The :mod:`sysconfig` module provides access to Python's configuration
index c77a6793fae82d74a706ac7ade891d050b1e077b..aece7149ef41b09fcb460c5af8c5907701eca76b 100644 (file)
    pair: URL; parsing
    pair: relative; URL
 
+**Source code:** :source:`Lib/urllib/parse.py`
+
+--------------
+
 This module defines a standard interface to break Uniform Resource Locator (URL)
 strings up in components (addressing scheme, network location, path etc.), to
 combine the components back into a URL string, and to convert a "relative URL"