Commit 19f9b71f authored by Éric Araujo's avatar Éric Araujo

Add a few missing source links from 2.7 and harmonize lib docs headers

parent d001ffe7
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
.. moduleauthor:: Steven Bethard <steven.bethard@gmail.com> .. moduleauthor:: Steven Bethard <steven.bethard@gmail.com>
.. sectionauthor:: Steven Bethard <steven.bethard@gmail.com> .. sectionauthor:: Steven Bethard <steven.bethard@gmail.com>
**Source code:** :source:`Lib/argparse.py`
.. versionadded:: 3.2 .. versionadded:: 3.2
**Source code:** :source:`Lib/argparse.py`
-------------- --------------
The :mod:`argparse` module makes it easy to write user-friendly command-line The :mod:`argparse` module makes it easy to write user-friendly command-line
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
.. moduleauthor:: Skip Montanaro <skip@pobox.com> .. moduleauthor:: Skip Montanaro <skip@pobox.com>
.. sectionauthor:: 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 The :mod:`atexit` module defines functions to register and unregister cleanup
functions. Functions thus registered are automatically executed upon normal functions. Functions thus registered are automatically executed upon normal
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
.. module:: concurrent.futures .. module:: concurrent.futures
:synopsis: Execute computations concurrently using threads or processes. :synopsis: Execute computations concurrently using threads or processes.
.. versionadded:: 3.2
**Source code:** :source:`Lib/concurrent/futures/thread.py` **Source code:** :source:`Lib/concurrent/futures/thread.py`
and :source:`Lib/concurrent/futures/process.py` and :source:`Lib/concurrent/futures/process.py`
.. versionadded:: 3.2
-------------- --------------
The :mod:`concurrent.futures` module provides a high-level interface for The :mod:`concurrent.futures` module provides a high-level interface for
......
...@@ -7,14 +7,14 @@ ...@@ -7,14 +7,14 @@
.. moduleauthor:: Greg Ward <gward@python.net> .. moduleauthor:: Greg Ward <gward@python.net>
.. sectionauthor:: 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` **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 :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 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 more declarative style of command-line parsing: you create an instance of
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
.. module:: string .. module:: string
:synopsis: Common string operations. :synopsis: Common string operations.
**Source code:** :source:`Lib/string.py`
--------------
.. seealso:: .. seealso::
...@@ -11,10 +14,6 @@ ...@@ -11,10 +14,6 @@
:ref:`string-methods` :ref:`string-methods`
**Source code:** :source:`Lib/string.py`
--------------
String constants String constants
---------------- ----------------
......
...@@ -3,15 +3,16 @@ ...@@ -3,15 +3,16 @@
.. module:: sysconfig .. module:: sysconfig
:synopsis: Python's configuration information :synopsis: Python's configuration information
.. moduleauthor:: Tarek Ziade <tarek@ziade.org> .. moduleauthor:: Tarek Ziadé <tarek@ziade.org>
.. sectionauthor:: Tarek Ziade <tarek@ziade.org> .. sectionauthor:: Tarek Ziadé <tarek@ziade.org>
.. index:: .. index::
single: configuration information single: configuration information
**Source code:** :source:`Lib/sysconfig.py`
.. versionadded:: 3.2 .. versionadded:: 3.2
**Source code:** :source:`Lib/sysconfig.py`
-------------- --------------
The :mod:`sysconfig` module provides access to Python's configuration The :mod:`sysconfig` module provides access to Python's configuration
......
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
pair: URL; parsing pair: URL; parsing
pair: relative; URL pair: relative; URL
**Source code:** :source:`Lib/urllib/parse.py`
--------------
This module defines a standard interface to break Uniform Resource Locator (URL) This module defines a standard interface to break Uniform Resource Locator (URL)
strings up in components (addressing scheme, network location, path etc.), to 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" combine the components back into a URL string, and to convert a "relative URL"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment