]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport source links from 3.x.
authorÉric Araujo <merwok@netwok.org>
Fri, 19 Aug 2011 00:14:03 +0000 (02:14 +0200)
committerÉric Araujo <merwok@netwok.org>
Fri, 19 Aug 2011 00:14:03 +0000 (02:14 +0200)
Existing links have been updated to use the new reST role.  In some
files, I have also made cosmetic changes to the header.

106 files changed:
Doc/library/__future__.rst
Doc/library/abc.rst
Doc/library/aifc.rst
Doc/library/argparse.rst
Doc/library/ast.rst
Doc/library/asynchat.rst
Doc/library/asyncore.rst
Doc/library/atexit.rst
Doc/library/basehttpserver.rst
Doc/library/bdb.rst
Doc/library/bisect.rst
Doc/library/calendar.rst
Doc/library/cgi.rst
Doc/library/cmd.rst
Doc/library/collections.rst
Doc/library/colorsys.rst
Doc/library/contextlib.rst
Doc/library/cookie.rst
Doc/library/cookielib.rst
Doc/library/dis.rst
Doc/library/dummy_thread.rst
Doc/library/dummy_threading.rst
Doc/library/filecmp.rst
Doc/library/fileinput.rst
Doc/library/fnmatch.rst
Doc/library/fractions.rst
Doc/library/ftplib.rst
Doc/library/functools.rst
Doc/library/getopt.rst
Doc/library/gettext.rst
Doc/library/glob.rst
Doc/library/gzip.rst
Doc/library/hashlib.rst
Doc/library/heapq.rst
Doc/library/hmac.rst
Doc/library/htmllib.rst
Doc/library/htmlparser.rst
Doc/library/httplib.rst
Doc/library/imaplib.rst
Doc/library/imghdr.rst
Doc/library/inspect.rst
Doc/library/keyword.rst
Doc/library/linecache.rst
Doc/library/mailcap.rst
Doc/library/mimetypes.rst
Doc/library/modulefinder.rst
Doc/library/netrc.rst
Doc/library/nntplib.rst
Doc/library/optparse.rst
Doc/library/pickletools.rst
Doc/library/pipes.rst
Doc/library/pkgutil.rst
Doc/library/platform.rst
Doc/library/plistlib.rst
Doc/library/poplib.rst
Doc/library/pprint.rst
Doc/library/profile.rst
Doc/library/py_compile.rst
Doc/library/pyclbr.rst
Doc/library/pydoc.rst
Doc/library/queue.rst
Doc/library/quopri.rst
Doc/library/random.rst
Doc/library/repr.rst
Doc/library/rlcompleter.rst
Doc/library/runpy.rst
Doc/library/sched.rst
Doc/library/shelve.rst
Doc/library/shlex.rst
Doc/library/shutil.rst
Doc/library/simplexmlrpcserver.rst
Doc/library/site.rst
Doc/library/smtpd.rst
Doc/library/smtplib.rst
Doc/library/sndhdr.rst
Doc/library/socketserver.rst
Doc/library/ssl.rst
Doc/library/stat.rst
Doc/library/string.rst
Doc/library/sunau.rst
Doc/library/symbol.rst
Doc/library/sysconfig.rst
Doc/library/tabnanny.rst
Doc/library/tarfile.rst
Doc/library/telnetlib.rst
Doc/library/tempfile.rst
Doc/library/textwrap.rst
Doc/library/threading.rst
Doc/library/timeit.rst
Doc/library/token.rst
Doc/library/tokenize.rst
Doc/library/trace.rst
Doc/library/types.rst
Doc/library/urlparse.rst
Doc/library/userdict.rst
Doc/library/uu.rst
Doc/library/warnings.rst
Doc/library/wave.rst
Doc/library/weakref.rst
Doc/library/webbrowser.rst
Doc/library/xdrlib.rst
Doc/library/xml.dom.minidom.rst
Doc/library/xml.dom.pulldom.rst
Doc/library/xml.etree.elementtree.rst
Doc/library/xmlrpclib.rst
Doc/library/zipfile.rst

index 8945c5d7a0eb67e5d791308c70a35280c3ec529f..87e120514a10eb4ef072936d36eb972a0e291311 100644 (file)
@@ -4,6 +4,9 @@
 .. module:: __future__
    :synopsis: Future statement definitions
 
+**Source code:** :source:`Lib/__future__.py`
+
+--------------
 
 :mod:`__future__` is a real module, and serves three purposes:
 
index 0408f3020699d892bed7f6ba046a1e979fd6ca58..ef8b08e4363f331109da02e69660930ec90cc26f 100644 (file)
@@ -9,6 +9,10 @@
 
 .. versionadded:: 2.6
 
+**Source code:** :source:`Lib/abc.py`
+
+--------------
+
 This module provides the infrastructure for defining :term:`abstract base
 classes <abstract base class>` (ABCs) in Python, as outlined in :pep:`3119`; see the PEP for why this
 was added to Python. (See also :pep:`3141` and the :mod:`numbers` module
index 0bb16356cde3aa3a85374a33370030e62f6c73fc..126542373f8b23c8e615b4c8dde2ccde89824ebe 100644 (file)
    single: AIFF
    single: AIFF-C
 
+**Source code:** :source:`Lib/aifc.py`
+
+--------------
+
 This module provides support for reading and writing AIFF and AIFF-C files.
 AIFF is Audio Interchange File Format, a format for storing digital audio
 samples in a file.  AIFF-C is a newer version of the format that includes the
index d93c0d5756a4181c09a2bec0fa504d1a681c5148..bf0899d8abfbfd485e3ff60c46695e10bcba22c7 100644 (file)
@@ -4,9 +4,13 @@
 .. module:: argparse
    :synopsis: Command-line option and argument parsing library.
 .. moduleauthor:: Steven Bethard <steven.bethard@gmail.com>
-.. versionadded:: 2.7
 .. sectionauthor:: Steven Bethard <steven.bethard@gmail.com>
 
+.. versionadded:: 2.7
+
+**Source code:** :source:`Lib/argparse.py`
+
+--------------
 
 The :mod:`argparse` module makes it easy to write user-friendly command-line
 interfaces. The program defines what arguments it requires, and :mod:`argparse`
index d9b22127ca90aaf144ef613a797f62c9e3768312..5130d0045d5e129a0a6451636c02511e65dd96bb 100644 (file)
@@ -13,6 +13,9 @@
 .. versionadded:: 2.6
    The high-level ``ast`` module containing all helpers.
 
+**Source code:** :source:`Lib/ast.py`
+
+--------------
 
 The :mod:`ast` module helps Python applications to process trees of the Python
 abstract syntax grammar.  The abstract syntax itself might change with each
@@ -26,11 +29,6 @@ classes all inherit from :class:`ast.AST`.  An abstract syntax tree can be
 compiled into a Python code object using the built-in :func:`compile` function.
 
 
-.. seealso::
-
-   Latest version of the `ast module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/ast.py?view=markup>`_
-
 Node classes
 ------------
 
index 5096e4c10d8b022394d45cde9313b8982eb9b768..6f4af41ae8cff2f0df7cdb010c4f58ae26e56561 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`asynchat` --- Asynchronous socket command/response handler
 ================================================================
 
@@ -7,6 +6,9 @@
 .. moduleauthor:: Sam Rushing <rushing@nightmare.com>
 .. sectionauthor:: Steve Holden <sholden@holdenweb.com>
 
+**Source code:** :source:`Lib/asynchat.py`
+
+--------------
 
 This module builds on the :mod:`asyncore` infrastructure, simplifying
 asynchronous clients and servers and making it easier to handle protocols
index 813ac21cf3c8cb4fa6404378c83cb949d69e861e..33f22d3fa10e7ab57f2186135155aa93f24ac7c8 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`asyncore` --- Asynchronous socket handler
 ===============================================
 
@@ -10,6 +9,9 @@
 .. sectionauthor:: Steve Holden <sholden@holdenweb.com>
 .. heavily adapted from original documentation by Sam Rushing
 
+**Source code:** :source:`Lib/asyncore.py`
+
+--------------
 
 This module provides the basic infrastructure for writing asynchronous  socket
 service clients and servers.
index fd884d72bb1d6ad5e2b4deb7d887f1fc6dd0531c..c70dcf235970f165923d17867aabf7d5efbd4678 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`atexit` --- Exit handlers
 ===============================
 
 
 .. versionadded:: 2.0
 
+**Source code:** :source:`Lib/atexit.py`
+
+--------------
+
 The :mod:`atexit` module defines a single function to register cleanup
 functions.  Functions thus registered are automatically executed upon normal
 interpreter termination.  The order in which the functions are called is not
 defined; if you have cleanup operations that depend on each other, you should
 wrap them in a function and register that one.  This keeps :mod:`atexit` simple.
 
-.. seealso::
-
-   Latest version of the `atexit Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/atexit.py?view=markup>`_
-
 Note: the functions registered via this module are not called when the program
 is killed by a signal not handled by Python, when a Python fatal internal error
 is detected, or when :func:`os._exit` is called.
index 4662b4f9a1443bc3291e17a06640c7ea673f642d..98b5ce4565e05338a5e499deb64db1b4f4d26413 100644 (file)
    module: SimpleHTTPServer
    module: CGIHTTPServer
 
+**Source code:** :source:`Lib/BaseHTTPServer.py`
+
+--------------
+
 This module defines two classes for implementing HTTP servers (Web servers).
 Usually, this module isn't used directly, but is used as a basis for building
 functioning Web servers. See the :mod:`SimpleHTTPServer` and
index 93304dec70e716486b5d368bc21912711670b2f0..bd2b16f782c54cc4d787f6c56bfbf9cc77cb1248 100644 (file)
@@ -4,6 +4,10 @@
 .. module:: bdb
    :synopsis: Debugger framework.
 
+**Source code:** :source:`Lib/bdb.py`
+
+--------------
+
 The :mod:`bdb` module handles basic debugger functions, like setting breakpoints
 or managing execution via the debugger.
 
index 48cb3310a23747858aa09019f2a222690d86a0d1..27ab526efb1180ff1bd221198c22cc95c964519b 100644 (file)
@@ -7,6 +7,12 @@
 .. sectionauthor:: Raymond Hettinger <python at rcn.com>
 .. example based on the PyModules FAQ entry by Aaron Watters <arw@pythonpros.com>
 
+.. versionadded:: 2.1
+
+**Source code:** :source:`Lib/bisect.py`
+
+--------------
+
 This module provides support for maintaining a list in sorted order without
 having to sort the list after each insertion.  For long lists of items with
 expensive comparison operations, this can be an improvement over the more common
@@ -14,13 +20,6 @@ approach.  The module is called :mod:`bisect` because it uses a basic bisection
 algorithm to do its work.  The source code may be most useful as a working
 example of the algorithm (the boundary conditions are already right!).
 
-.. versionadded:: 2.1
-
-.. seealso::
-
-   Latest version of the `bisect module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/bisect.py?view=markup>`_
-
 The following functions are provided:
 
 
index 2245e513a5eaf5a6d9de322c61e86b0e0fb636bb..f4f46936466b9275aa33181b56d2b173ee76c1b4 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`calendar` --- General calendar-related functions
 ======================================================
 
@@ -7,6 +6,9 @@
               program.
 .. sectionauthor:: Drew Csillag <drew_csillag@geocities.com>
 
+**Source code:** :source:`Lib/calendar.py`
+
+--------------
 
 This module allows you to output calendars like the Unix :program:`cal` program,
 and provides additional useful functions related to the calendar. By default,
@@ -22,10 +24,6 @@ in both directions.  This matches the definition of the "proleptic Gregorian"
 calendar in Dershowitz and Reingold's book "Calendrical Calculations", where
 it's the base calendar for all computations.
 
-.. seealso::
-
-   Latest version of the `calendar module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/calendar.py?view=markup>`_
 
 .. class:: Calendar([firstweekday])
 
index 149cf23bf10ef57eb4d05d2163b7f976b80d83f8..b95f131551a16ba4a4ab41984d68a4adf4130475 100644 (file)
    single: URL
    single: Common Gateway Interface
 
+**Source code:** :source:`Lib/cgi.py`
+
+--------------
+
 Support module for Common Gateway Interface (CGI) scripts.
 
 This module defines a number of utilities for use by CGI scripts written in
index b0508a3d203cd2e32057155bbc4ab15546ecf7de..ea2412238b053c8fc8194146940f007fe6463888 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`cmd` --- Support for line-oriented command interpreters
 =============================================================
 
@@ -6,17 +5,15 @@
    :synopsis: Build line-oriented command interpreters.
 .. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com>
 
+**Source code:** :source:`Lib/cmd.py`
+
+--------------
 
 The :class:`Cmd` class provides a simple framework for writing line-oriented
 command interpreters.  These are often useful for test harnesses, administrative
 tools, and prototypes that will later be wrapped in a more sophisticated
 interface.
 
-.. seealso::
-
-   Latest version of the `cmd module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/cmd.py?view=markup>`_
-
 .. class:: Cmd([completekey[, stdin[, stdout]]])
 
    A :class:`Cmd` instance or subclass instance is a line-oriented interpreter
index 96895dd7acec969881e6438d483c2d3632f925d4..6fae7977bfc0207e4cf701c102782e440a14ac83 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`collections` --- High-performance container datatypes
 ===========================================================
 
    import itertools
    __name__ = '<doctest>'
 
+**Source code:** :source:`Lib/collections.py` and :source:`Lib/_abcoll.py`
+
+--------------
+
 This module implements specialized container datatypes providing alternatives to
 Python's general purpose built-in containers, :class:`dict`, :class:`list`,
 :class:`set`, and :class:`tuple`.
@@ -32,10 +35,6 @@ In addition to the concrete container classes, the collections module provides
 used to test whether a class provides a particular interface, for example,
 whether it is hashable or a mapping.
 
-.. seealso::
-
-   Latest version of the `collections module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/collections.py?view=markup>`_
 
 :class:`Counter` objects
 ------------------------
@@ -1024,9 +1023,6 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
 
 .. seealso::
 
-   * Latest version of the `Python source code for the collections abstract base classes
-     <http://svn.python.org/view/python/branches/release27-maint/Lib/_abcoll.py?view=markup>`_
-
    * `OrderedSet recipe <http://code.activestate.com/recipes/576694/>`_ for an
      example built on :class:`MutableSet`.
 
index 2cbc704db1cefd73d45b9e94c2f95c505834f891..dbab7063e106fbda0e19f0b2d2d689ab9d217285 100644 (file)
@@ -5,6 +5,9 @@
    :synopsis: Conversion functions between RGB and other color systems.
 .. sectionauthor:: David Ascher <da@python.net>
 
+**Source code:** :source:`Lib/colorsys.py`
+
+--------------
 
 The :mod:`colorsys` module defines bidirectional conversions of color values
 between colors expressed in the RGB (Red Green Blue) color space used in
index c4350821b5eef094921e0e336525196d24e39f98..610c0b019d83b847dede950950e1edf30fa5f3c0 100644 (file)
@@ -7,15 +7,14 @@
 
 .. versionadded:: 2.5
 
+**Source code:** :source:`Lib/contextlib.py`
+
+--------------
+
 This module provides utilities for common tasks involving the :keyword:`with`
 statement. For more information see also :ref:`typecontextmanager` and
 :ref:`context-managers`.
 
-.. seealso::
-
-   Latest version of the `contextlib Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/contextlib.py?view=markup>`_
-
 Functions provided:
 
 
index de845687a72b33c54dfaf42c8d1ad99ec0a5e557..480dffa66e620c519048d76327935ef371db29ef 100644 (file)
@@ -11,6 +11,9 @@
    3.0.  The :term:`2to3` tool will automatically adapt imports when converting
    your sources to 3.0.
 
+**Source code:** :source:`Lib/Cookie.py`
+
+--------------
 
 The :mod:`Cookie` module defines classes for abstracting the concept of
 cookies, an HTTP state management mechanism. It supports both simple string-only
index 4ca04718762f1a3a06b040a6d55ef53a1d533db7..77d66245a513c362a407ad040570d709582318f6 100644 (file)
    Python 3.0.  The :term:`2to3` tool will automatically adapt imports when
    converting your sources to 3.0.
 
-
 .. versionadded:: 2.4
 
+**Source code:** :source:`Lib/cookielib.py`
 
+--------------
 
 The :mod:`cookielib` module defines classes for automatic handling of HTTP
 cookies.  It is useful for accessing web sites that require small pieces of data
index 9addfe740245d7e7bead53167ab973d801c02d50..8dee90163ef761b4c7f1c4eed75bc1d870fe9dc5 100644 (file)
@@ -1,21 +1,18 @@
-
 :mod:`dis` --- Disassembler for Python bytecode
 ===============================================
 
 .. module:: dis
    :synopsis: Disassembler for Python bytecode.
 
+**Source code:** :source:`Lib/dis.py`
+
+--------------
 
 The :mod:`dis` module supports the analysis of CPython :term:`bytecode` by
 disassembling it. The CPython bytecode which this module takes as an
 input is defined in the file :file:`Include/opcode.h` and used by the compiler
 and the interpreter.
 
-.. seealso::
-
-   Latest version of the `dis module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/dis.py?view=markup>`_
-
 .. impl-detail::
 
    Bytecode is an implementation detail of the CPython interpreter!  No
index 5d89760e8dbd9d979c6f33601f53d883166f3677..a4dba86bc91187e1cabf572123980892c8233a80 100644 (file)
@@ -10,6 +10,9 @@
    converting your sources to 3.0; however, you should consider using the
    high-lever :mod:`dummy_threading` module instead.
 
+**Source code:** :source:`Lib/dummy_thread.py`
+
+--------------
 
 This module provides a duplicate interface to the :mod:`thread` module.  It is
 meant to be imported when the :mod:`thread` module is not provided on a
index 0ffb68732fd0efd5dbacc7c2c9ebc869cc75b60c..39ca061d79007bb8513ff49ade2fae2768b3614d 100644 (file)
@@ -1,10 +1,12 @@
-
 :mod:`dummy_threading` --- Drop-in replacement for the :mod:`threading` module
 ==============================================================================
 
 .. module:: dummy_threading
    :synopsis: Drop-in replacement for the threading module.
 
+**Source code:** :source:`Lib/dummy_threading.py`
+
+--------------
 
 This module provides a duplicate interface to the :mod:`threading` module.  It
 is meant to be imported when the :mod:`thread` module is not provided on a
index 699e510438b8b94eb3f26194344e3454096a5a52..25d0701af379336321e2370d9ceb11d55474e3ac 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`filecmp` --- File and Directory Comparisons
 =================================================
 
@@ -6,16 +5,14 @@
    :synopsis: Compare files efficiently.
 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
 
+**Source code:** :source:`Lib/filecmp.py`
+
+--------------
 
 The :mod:`filecmp` module defines functions to compare files and directories,
 with various optional time/correctness trade-offs. For comparing files,
 see also the :mod:`difflib` module.
 
-.. seealso::
-
-   Latest version of the `filecmp Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/filecmp.py?view=markup>`_
-
 The :mod:`filecmp` module defines the following functions:
 
 
index 709237e41c0db1c305a268da653bfc6eddc520df..172a643ac50aa7bdf998382d37baea5d09f2f9c1 100644 (file)
@@ -6,6 +6,9 @@
 .. moduleauthor:: Guido van Rossum <guido@python.org>
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`Lib/fileinput.py`
+
+--------------
 
 This module implements a helper class and functions to quickly write a
 loop over standard input or a list of files. If you just want to read or
@@ -44,11 +47,6 @@ hook must be a function that takes two arguments, *filename* and *mode*, and
 returns an accordingly opened file-like object. Two useful hooks are already
 provided by this module.
 
-.. seealso::
-
-   Latest version of the `fileinput Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/fileinput.py?view=markup>`_
-
 The following function is the primary interface of this module:
 
 
index cb1fa106f946ec0438c8c538f70324c04518b3d1..49119802a65a421e3917d86fc7812e368729f6e1 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`fnmatch` --- Unix filename pattern matching
 =================================================
 
@@ -10,6 +9,10 @@
 
 .. index:: module: re
 
+**Source code:** :source:`Lib/fnmatch.py`
+
+--------------
+
 This module provides support for Unix shell-style wildcards, which are *not* the
 same as regular expressions (which are documented in the :mod:`re` module).  The
 special characters used in shell-style wildcards are:
@@ -34,10 +37,6 @@ module.  See module :mod:`glob` for pathname expansion (:mod:`glob` uses
 a period are not special for this module, and are matched by the ``*`` and ``?``
 patterns.
 
-.. seealso::
-
-   Latest version of the `fnmatch Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/fnmatch.py?view=markup>`_
 
 .. function:: fnmatch(filename, pattern)
 
@@ -95,4 +94,3 @@ patterns.
 
    Module :mod:`glob`
       Unix shell-style path expansion.
-
index 1ca9a9c46d4a5d3e2f3c2f1be5f2d3b87108a5a4..4d10cbdd2204e7476992ea09d6fa26b97df93192 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`fractions` --- Rational numbers
 =====================================
 
@@ -8,6 +7,9 @@
 .. sectionauthor:: Jeffrey Yasskin <jyasskin at gmail.com>
 .. versionadded:: 2.6
 
+**Source code:** :source:`Lib/fractions.py`
+
+--------------
 
 The :mod:`fractions` module provides support for rational number arithmetic.
 
index b6db98371f7ef541302de7134552f13f4b66341e..b8f5b4e6959306f4bc761223b4140a2f0ce99c4c 100644 (file)
@@ -9,6 +9,10 @@
    pair: FTP; protocol
    single: FTP; ftplib (standard module)
 
+**Source code:** :source:`Lib/ftplib.py`
+
+--------------
+
 This module defines the class :class:`FTP` and a few related items. The
 :class:`FTP` class implements the client side of the FTP protocol.  You can use
 this to write Python programs that perform a variety of automated FTP jobs, such
index 787c000951d184ce0fb496c88c6d1cf3d956c530..10c984fd4f10658978abd9f52a6518e1da15ba1d 100644 (file)
@@ -8,18 +8,16 @@
 .. moduleauthor:: Nick Coghlan <ncoghlan@gmail.com>
 .. sectionauthor:: Peter Harris <scav@blueyonder.co.uk>
 
-
 .. versionadded:: 2.5
 
+**Source code:** :source:`Lib/functools.py`
+
+--------------
+
 The :mod:`functools` module is for higher-order functions: functions that act on
 or return other functions. In general, any callable object can be treated as a
 function for the purposes of this module.
 
-.. seealso::
-
-   Latest version of the `functools Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/functools.py?view=markup>`_
-
 The :mod:`functools` module defines the following functions:
 
 ..  function:: cmp_to_key(func)
index 4d65c79f96a4a2777f88633979749bcbd898da17..fb6820fdc88bdb03a02b6103393a03e581fdf376 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`getopt` --- C-style parser for command line options
 =========================================================
 
@@ -6,6 +5,10 @@
    :synopsis: Portable parser for command line options; support both short and long option
               names.
 
+**Source code:** :source:`Lib/getopt.py`
+
+--------------
+
 .. note::
    The :mod:`getopt` module is a parser for command line options whose API is
    designed to be familiar to users of the C :cfunc:`getopt` function. Users who
index f64631f212b57e771526f564b2bd2246c0b6139c..c55aaf4def851af143d93c87c76ab0f493f05e14 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`gettext` --- Multilingual internationalization services
 =============================================================
 
@@ -7,6 +6,9 @@
 .. moduleauthor:: Barry A. Warsaw <barry@zope.com>
 .. sectionauthor:: Barry A. Warsaw <barry@zope.com>
 
+**Source code:** :source:`Lib/gettext.py`
+
+--------------
 
 The :mod:`gettext` module provides internationalization (I18N) and localization
 (L10N) services for your Python modules and applications. It supports both the
index 1ef9a310615fd180b973c5a24a80bdfc0477ca15..68cc9f07f3c765d73754720c20b5bec62de38e31 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`glob` --- Unix style pathname pattern expansion
 =====================================================
 
@@ -8,6 +7,10 @@
 
 .. index:: single: filenames; pathname expansion
 
+**Source code:** :source:`Lib/glob.py`
+
+--------------
+
 The :mod:`glob` module finds all the pathnames matching a specified pattern
 according to the rules used by the Unix shell.  No tilde expansion is done, but
 ``*``, ``?``, and character ranges expressed with ``[]`` will be correctly
@@ -16,10 +19,6 @@ matched.  This is done by using the :func:`os.listdir` and
 subshell.  (For tilde and shell variable expansion, use
 :func:`os.path.expanduser` and :func:`os.path.expandvars`.)
 
-.. seealso::
-
-   Latest version of the `glob module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/glob.py?view=markup>`_
 
 .. function:: glob(pathname)
 
index 037909bcbb36a4dbd41c3b382da1f4e0f30cf4cd..e074bfc7032e58d954d0cfaf2a52ba7c820d0db6 100644 (file)
@@ -4,6 +4,10 @@
 .. module:: gzip
    :synopsis: Interfaces for gzip compression and decompression using file objects.
 
+**Source code:** :source:`Lib/gzip.py`
+
+--------------
+
 This module provides a simple interface to compress and decompress files just
 like the GNU programs :program:`gzip` and :program:`gunzip` would.
 
index 51ac93b092dc91ea6242b3386aaebc4c20b51544..063ad59716b4e6b06ba0e5df620d6b6f8bdce8c2 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`hashlib` --- Secure hashes and message digests
 ====================================================
 
    single: message digest, MD5
    single: secure hash algorithm, SHA1, SHA224, SHA256, SHA384, SHA512
 
+**Source code:** :source:`Lib/hashlib.py`
+
+--------------
+
 This module implements a common interface to many different secure hash and
 message digest algorithms.  Included are the FIPS secure hash algorithms SHA1,
 SHA224, SHA256, SHA384, and SHA512 (defined in FIPS 180-2) as well as RSA's MD5
index fcaf28d668402e86983fa0b676c1592b8bbf3038..86be3bdf2350f3b266813a0bf5a59bb587f8b205 100644 (file)
 
 .. versionadded:: 2.3
 
-This module provides an implementation of the heap queue algorithm, also known
-as the priority queue algorithm.
+**Source code:** :source:`Lib/heapq.py`
 
-.. seealso::
+--------------
 
-   Latest version of the `heapq Python source code
-   <http://svn.python.org/view/*checkout*/python/branches/release27-maint/Lib/heapq.py?content-type=text%2Fplain>`_
+This module provides an implementation of the heap queue algorithm, also known
+as the priority queue algorithm.
 
 Heaps are binary trees for which every parent node has a value less than or
 equal to any of its children.  This implementation uses arrays for which
index 480d0a7b4896ef0aa2eda719f6127f05b6a06030..968b7a4d24e0d7c5372563867d9e8bf3c65c33db 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`hmac` --- Keyed-Hashing for Message Authentication
 ========================================================
 
@@ -10,6 +9,10 @@
 
 .. versionadded:: 2.2
 
+**Source code:** :source:`Lib/hmac.py`
+
+--------------
+
 This module implements the HMAC algorithm as described by :rfc:`2104`.
 
 
index 4e22b6f7a2c5723f4b7287d13a75b02126c35a93..f253d1268ad51dafe55718e6053d735b5be0b7f7 100644 (file)
@@ -165,6 +165,9 @@ additional methods and instance variables for use within tag methods.
    Python 3.0.  The :term:`2to3` tool will automatically adapt imports when
    converting your sources to 3.0.
 
+**Source code:** :source:`Lib/htmlentitydefs.py`
+
+--------------
 
 This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``,
 and ``entitydefs``. ``entitydefs`` is used by the :mod:`htmllib` module to
index c114bf83c59de25d3d099c0e3e1512a85e9a9f51..0cdc7ca1a27ead662410e9a9e552fe61278e1e7a 100644 (file)
    single: HTML
    single: XHTML
 
+**Source code:** :source:`Lib/HTMLParser.py`
+
+--------------
+
 This module defines a class :class:`HTMLParser` which serves as the basis for
 parsing text files formatted in HTML (HyperText Mark-up Language) and XHTML.
 Unlike the parser in :mod:`htmllib`, this parser is not based on the SGML parser
index 2789c081655d636a6f459143f72ba9169338f7e5..e1e3b2a83f896067b539609dc5520c7c9bf97336 100644 (file)
 
 .. index:: module: urllib
 
+**Source code:** :source:`Lib/httplib.py`
+
+--------------
+
 This module defines classes which implement the client side of the HTTP and
 HTTPS protocols.  It is normally not used directly --- the module :mod:`urllib`
 uses it to handle URLs that use HTTP and HTTPS.
index 95bdc702e13dcab536b922e940028f66dbe034cf..9fcbaaae1bca4610b5743928fee19bbb48040f8c 100644 (file)
    pair: IMAP4_SSL; protocol
    pair: IMAP4_stream; protocol
 
+**Source code:** :source:`Lib/imaplib.py`
+
+--------------
+
 This module defines three classes, :class:`IMAP4`, :class:`IMAP4_SSL` and
 :class:`IMAP4_stream`, which encapsulate a connection to an IMAP4 server and
 implement a large subset of the IMAP4rev1 client protocol as defined in
index 90a83045c394c4e875c7c9481c16832098c12fdc..20f789f6a50432126abeb9a193ca9c21813462f7 100644 (file)
@@ -1,10 +1,12 @@
-
 :mod:`imghdr` --- Determine the type of an image
 ================================================
 
 .. module:: imghdr
    :synopsis: Determine the type of image contained in a file or byte stream.
 
+**Source code:** :source:`Lib/imghdr.py`
+
+--------------
 
 The :mod:`imghdr` module determines the type of image contained in a file or
 byte stream.
index 850ff08f060f5ec121e6d31837e0092d2ebcbc84..e05618edb9637e3c94d669dc87c1b646121346e2 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`inspect` --- Inspect live objects
 =======================================
 
@@ -10,6 +9,10 @@
 
 .. versionadded:: 2.1
 
+**Source code:** :source:`Lib/inspect.py`
+
+--------------
+
 The :mod:`inspect` module provides several useful functions to help get
 information about live objects such as modules, classes, methods, functions,
 tracebacks, frame objects, and code objects.  For example, it can help you
index 3b69d0b03c53769a5b23ebbe34128f001cce1a78..173db23544a47312513d203d139fa48aeadbe6e6 100644 (file)
@@ -1,10 +1,12 @@
-
 :mod:`keyword` --- Testing for Python keywords
 ==============================================
 
 .. module:: keyword
    :synopsis: Test whether a string is a keyword in Python.
 
+**Source code:** :source:`Lib/keyword.py`
+
+--------------
 
 This module allows a Python program to determine if a string is a keyword.
 
@@ -19,9 +21,3 @@ This module allows a Python program to determine if a string is a keyword.
    Sequence containing all the keywords defined for the interpreter.  If any
    keywords are defined to only be active when particular :mod:`__future__`
    statements are in effect, these will be included as well.
-
-
-.. seealso::
-
-   Latest version of the `keyword module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/keyword.py?view=markup>`_
index 8ebee0585566818937ab362de913be8c77e29864..39385f9a22bc60fadb6184a867b7a2827fccfc85 100644 (file)
@@ -6,17 +6,15 @@
    :synopsis: This module provides random access to individual lines from text files.
 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
 
+**Source code:** :source:`Lib/linecache.py`
+
+--------------
 
 The :mod:`linecache` module allows one to get any line from any file, while
 attempting to optimize internally, using a cache, the common case where many
 lines are read from a single file.  This is used by the :mod:`traceback` module
 to retrieve source lines for inclusion in  the formatted traceback.
 
-.. seealso::
-
-   Latest version of the `linecache module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/linecache.py?view=markup>`_
-
 The :mod:`linecache` module defines the following functions:
 
 
index 8dcb1ec6125b0d5523e07a2ccee0c30695b428ef..5507211751ca8b326607788e08b51741ab8d7e5f 100644 (file)
@@ -4,7 +4,9 @@
 .. module:: mailcap
    :synopsis: Mailcap file handling.
 
+**Source code:** :source:`Lib/mailcap.py`
 
+--------------
 
 Mailcap files are used to configure how MIME-aware applications such as mail
 readers and Web browsers react to files with different MIME types. (The name
index 956a1f178e8cd519eea7855d96a77de39005330f..69f84345e0b6ad971f7036003c4722b572c68074 100644 (file)
@@ -9,6 +9,10 @@
 
 .. index:: pair: MIME; content type
 
+**Source code:** :source:`Lib/mimetypes.py`
+
+--------------
+
 The :mod:`mimetypes` module converts between a filename or URL and the MIME type
 associated with the filename extension.  Conversions are provided from filename
 to MIME type and from MIME type to filename extension; encodings are not
index a086206df72e88d6abec2ad549b95e4fba90e708..40bf60f1907f4aef215824a6c035dba75141436b 100644 (file)
@@ -1,16 +1,17 @@
-
 :mod:`modulefinder` --- Find modules used by a script
 =====================================================
 
-.. sectionauthor:: A.M. Kuchling <amk@amk.ca>
-
-
 .. module:: modulefinder
    :synopsis: Find modules used by a script.
+.. sectionauthor:: A.M. Kuchling <amk@amk.ca>
 
 
 .. versionadded:: 2.3
 
+**Source code:** :source:`Lib/modulefinder.py`
+
+--------------
+
 This module provides a :class:`ModuleFinder` class that can be used to determine
 the set of modules imported by a script. ``modulefinder.py`` can also be run as
 a script, giving the filename of a Python script as its argument, after which a
index 8a2f1c6088f1199bd7a81009632e5361cc43bf6f..323fd696c2d00d766f815ebb88b726db8145a00b 100644 (file)
 
 .. versionadded:: 1.5.2
 
+**Source code:** :source:`Lib/netrc.py`
+
+--------------
+
 The :class:`netrc` class parses and encapsulates the netrc file format used by
 the Unix :program:`ftp` program and other FTP clients.
 
index 7a461b43b661148e485e8fbf4b88746c5c9ba1f2..acbb7a5d900b87f5b446c1562a06247c59978bd4 100644 (file)
    pair: NNTP; protocol
    single: Network News Transfer Protocol
 
+**Source code:** :source:`Lib/nntplib.py`
+
+--------------
+
 This module defines the class :class:`NNTP` which implements the client side of
 the NNTP protocol.  It can be used to implement a news reader or poster, or
 automated news processors.  For more information on NNTP (Network News Transfer
index 39a44bd34b764ff66e74966b1e4e9b06ad115234..cb78b838627bdbd790c343e2fc691c88d2786d16 100644 (file)
@@ -4,17 +4,18 @@
 .. module:: optparse
    :synopsis: Command-line option parsing library.
    :deprecated:
+.. moduleauthor:: Greg Ward <gward@python.net>
+.. sectionauthor:: Greg Ward <gward@python.net>
+
+.. versionadded:: 2.3
 
 .. deprecated:: 2.7
    The :mod:`optparse` module is deprecated and will not be developed further;
    development will continue with the :mod:`argparse` module.
 
-.. moduleauthor:: Greg Ward <gward@python.net>
-
-.. versionadded:: 2.3
-
-.. sectionauthor:: Greg Ward <gward@python.net>
+**Source code:** :source:`Lib/optparse.py`
 
+--------------
 
 :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
index ea1619040d39e336c0c59ddf6fab91e1b27336ec..ce47c978dbb23bc243b476eaba5f23b2044d91f9 100644 (file)
@@ -8,6 +8,10 @@
 
 .. versionadded:: 2.3
 
+**Source code:** :source:`Lib/pickletools.py`
+
+--------------
+
 This module contains various constants relating to the intimate details of the
 :mod:`pickle` module, some lengthy comments about the implementation, and a few
 useful functions for analyzing pickled data.  The contents of this module are
index 1f2b2ff239042d95c3ed76aa091fbd8d984f1391..016a720470f772c8e873b551f3d2615afac17faf 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`pipes` --- Interface to shell pipelines
 =============================================
 
@@ -7,6 +6,9 @@
    :synopsis: A Python interface to Unix shell pipelines.
 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
 
+**Source code:** :source:`Lib/pipes.py`
+
+--------------
 
 The :mod:`pipes` module defines a class to abstract the concept of a *pipeline*
 --- a sequence of converters from one file to  another.
index 9e634d604b7b8026683f7e45fdb3bc9102eff169..30d4a7492a40aedc6772d44960d6148315977b70 100644 (file)
@@ -1,15 +1,18 @@
-
 :mod:`pkgutil` --- Package extension utility
 ============================================
 
 .. module:: pkgutil
    :synopsis: Utilities for the import system.
 
+.. versionadded:: 2.3
+
+**Source code:** :source:`Lib/pkgutil.py`
+
+--------------
+
 This module provides utilities for the import system, in particular package
 support.
 
-.. versionadded:: 2.3
-
 
 .. function:: extend_path(path, name)
 
index 069993c36922447241a2e9d7920e460017e3f41e..0b78d492be0bf514f5f30cbaa268d2300f631094 100644 (file)
@@ -9,6 +9,10 @@
 
 .. versionadded:: 2.3
 
+**Source code:** :source:`Lib/platform.py`
+
+--------------
+
 .. note::
 
    Specific platforms listed alphabetically, with Linux included in the Unix
index 309ddeca5851e5fc9c84f6fc1b1785c210f9bede..11268c2babab6bf10e9530ee65db263a2c7028d1 100644 (file)
    pair: plist; file
    single: property list
 
+**Source code:** :source:`Lib/plistlib.py`
+
+--------------
+
 This module provides an interface for reading and writing the "property list"
 XML files used mainly by Mac OS X.
 
index e5f693d288372fd929cb4fb8417417d3af2b03c8..84563040ea38065882b83aa977603b1e191a7dc4 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`poplib` --- POP3 protocol client
 ======================================
 
@@ -9,6 +8,10 @@
 
 .. index:: pair: POP3; protocol
 
+**Source code:** :source:`Lib/poplib.py`
+
+--------------
+
 This module defines a class, :class:`POP3`, which encapsulates a connection to a
 POP3 server and implements the protocol as defined in :rfc:`1725`.  The
 :class:`POP3` class supports both the minimal and optional command sets.
index 7f13029153949a94e8b66383495ee36c19745cc6..a0a72005c1feb5cc34a5010fc59d3a71e8f43ca0 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`pprint` --- Data pretty printer
 =====================================
 
@@ -7,6 +6,9 @@
 .. moduleauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`Lib/pprint.py`
+
+--------------
 
 The :mod:`pprint` module provides a capability to "pretty-print" arbitrary
 Python data structures in a form which can be used as input to the interpreter.
@@ -28,10 +30,6 @@ width constraint.
 .. versionchanged:: 2.6
    Added support for :class:`set` and :class:`frozenset`.
 
-.. seealso::
-
-   Latest version of the `pprint module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/pprint.py?view=markup>`_
 
 The :mod:`pprint` module defines one class:
 
index 87e2fbe2e9ea8e5d3199cc0f06411ecce8bfabed..236324d2e8c992fc7f412961a85ab03ee505572f 100644 (file)
@@ -1,4 +1,3 @@
-
 .. _profile:
 
 ********************
@@ -10,6 +9,9 @@ The Python Profilers
 .. module:: profile
    :synopsis: Python source profiler.
 
+**Source code:** :source:`Lib/profile.py` and :source:`Lib/pstats.py`
+
+--------------
 
 .. _profiler-introduction:
 
index ca86143eab46c554dc343085b9bdef0176e2d83f..66f015bbef0ba4038e67e17b139c793fdb617598 100644 (file)
@@ -8,6 +8,10 @@
 
 .. index:: pair: file; byte-code
 
+**Source code:** :source:`Lib/py_compile.py`
+
+--------------
+
 The :mod:`py_compile` module provides a function to generate a byte-code file
 from a source file, and another function used when the module source file is
 invoked as a script.
index dd6c0ae1e4a2add0c61fb68cee8366ee2635fd9f..2f81451e9fef4eb7e4006a8438fc36a83029a7f3 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`pyclbr` --- Python class browser support
 ==============================================
 
@@ -6,6 +5,9 @@
    :synopsis: Supports information extraction for a Python class browser.
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`Lib/pyclbr.py`
+
+--------------
 
 The :mod:`pyclbr` module can be used to determine some limited information
 about the classes, methods and top-level functions defined in a module.  The
index e5f8fe24cc109273c3704fc545f59f31858e81cc..8343452b95ae1ad52c55e31bb8af618b13f630be 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`pydoc` --- Documentation generator and online help system
 ===============================================================
 
    single: documentation; online
    single: help; online
 
+**Source code:** :source:`Lib/pydoc.py`
+
+--------------
+
 The :mod:`pydoc` module automatically generates documentation from Python
 modules.  The documentation can be presented as pages of text on the console,
 served to a Web browser, or saved to HTML files.
index 654f07a7acc2a1bc9a985421e91b95f816ef2c2b..36ff3469362326485419529486e2f3c5e1ec837c 100644 (file)
@@ -9,6 +9,9 @@
    :term:`2to3` tool will automatically adapt imports when converting your
    sources to 3.0.
 
+**Source code:** :source:`Lib/Queue.py`
+
+--------------
 
 The :mod:`Queue` module implements multi-producer, multi-consumer queues.
 It is especially useful in threaded programming when information must be
@@ -24,11 +27,6 @@ the first retrieved (operating like a stack).  With a priority queue,
 the entries are kept sorted (using the :mod:`heapq` module) and the
 lowest valued entry is retrieved first.
 
-.. seealso::
-
-   Latest version of the `Queue module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/Queue.py?view=markup>`_.
-
 The :mod:`Queue` module defines the following classes and exceptions:
 
 .. class:: Queue(maxsize=0)
index 87d70c382c6870698d02f22af543a0cff19e2bf8..67cbaba89b79f7ece87ccc6683e02f8bcf72e77a 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`quopri` --- Encode and decode MIME quoted-printable data
 ==============================================================
 
@@ -10,6 +9,10 @@
    pair: quoted-printable; encoding
    single: MIME; quoted-printable encoding
 
+**Source code:** :source:`Lib/quopri.py`
+
+--------------
+
 This module performs quoted-printable transport encoding and decoding, as
 defined in :rfc:`1521`: "MIME (Multipurpose Internet Mail Extensions) Part One:
 Mechanisms for Specifying and Describing the Format of Internet Message Bodies".
@@ -18,11 +21,6 @@ few nonprintable characters; the base64 encoding scheme available via the
 :mod:`base64` module is more compact if there are many such characters, as when
 sending a graphics file.
 
-.. seealso::
-
-   Latest version of the `quopri module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/quopri.py?view=markup>`_
-
 .. function:: decode(input, output[,header])
 
    Decode the contents of the *input* file and write the resulting decoded binary
index 4306911dfc2b1a367a9809fbd415ad83fe5f3b40..e18b217c90f10dfb86ad0efdb36443c87f82f7a7 100644 (file)
@@ -1,19 +1,16 @@
-
 :mod:`random` --- Generate pseudo-random numbers
 ================================================
 
 .. module:: random
    :synopsis: Generate pseudo-random numbers with various common distributions.
 
+**Source code:** :source:`Lib/random.py`
+
+--------------
 
 This module implements pseudo-random number generators for various
 distributions.
 
-.. seealso::
-
-   Latest version of the `random module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/random.py?view=markup>`_
-
 For integers, uniform selection from a range. For sequences, uniform selection
 of a random element, a function to generate a random permutation of a list
 in-place, and a function for random sampling without replacement.
index b4e03ff8551d20323471fcf3846a81ade644be4e..11e6ae20ca78c02a36e73ad58fd11c83db8777eb 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`repr` --- Alternate :func:`repr` implementation
 =====================================================
 
    :term:`2to3` tool will automatically adapt imports when converting your
    sources to 3.0.
 
+**Source code:** :source:`Lib/repr.py`
+
+--------------
+
 The :mod:`repr` module provides a means for producing object representations
 with limits on the size of the resulting strings. This is used in the Python
 debugger and may be useful in other contexts as well.
 
-.. seealso::
-
-   Latest version of the `repr module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/repr.py?view=markup>`_
-
 This module provides a class, an instance, and a function:
 
 
index 85a9d79260dfb294067ab2f82ac65eb06fefbc93..318b3ead773357b4ad866ed762cd2d517841a888 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`rlcompleter` --- Completion function for GNU readline
 ===========================================================
 
@@ -6,6 +5,9 @@
    :synopsis: Python identifier completion, suitable for the GNU readline library.
 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
 
+**Source code:** :source:`Lib/rlcompleter.py`
+
+--------------
 
 The :mod:`rlcompleter` module defines a completion function suitable for the
 :mod:`readline` module by completing valid Python identifiers and keywords.
index 905c64b46a7db32ad2563d186c1bc8b9b56bd293..31562feae05605c8208b36a31fd278b6d668f01f 100644 (file)
@@ -8,6 +8,10 @@
 
 .. versionadded:: 2.5
 
+**Source code:** :source:`Lib/runpy.py`
+
+--------------
+
 The :mod:`runpy` module is used to locate and run Python modules without
 importing them first. Its main use is to implement the :option:`-m` command
 line switch that allows scripts to be located using the Python module
index 1efe47ac0d47881b1e48289788442cec711e5ed9..824df040861e3cf68567032f7b3994f9f5f1d9af 100644 (file)
@@ -7,13 +7,12 @@
 
 .. index:: single: event scheduling
 
-The :mod:`sched` module defines a class which implements a general purpose event
-scheduler:
+**Source code:** :source:`Lib/sched.py`
 
-.. seealso::
+--------------
 
-   Latest version of the `sched module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/sched.py?view=markup>`_
+The :mod:`sched` module defines a class which implements a general purpose event
+scheduler:
 
 .. class:: scheduler(timefunc, delayfunc)
 
index 4f2d94be7547dda94044cd5b6e91e21d05c9ad28..7a70ff4d735f0c1790767fc3fe04466dd576bd1b 100644 (file)
@@ -7,16 +7,16 @@
 
 .. index:: module: pickle
 
+**Source code:** :source:`Lib/shelve.py`
+
+--------------
+
 A "shelf" is a persistent, dictionary-like object.  The difference with "dbm"
 databases is that the values (not the keys!) in a shelf can be essentially
 arbitrary Python objects --- anything that the :mod:`pickle` module can handle.
 This includes most class instances, recursive data types, and objects containing
 lots of shared  sub-objects.  The keys are ordinary strings.
 
-.. seealso::
-
-   Latest version of the `shelve module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/shelve.py?view=markup>`_
 
 .. function:: open(filename[, flag='c'[, protocol=None[, writeback=False]]])
 
index 3e6d9f1c6a7ebb174ccc68d78a95a1ad5a14236b..f4622442e47fe208f48fa75037ed2f17ea68bbbb 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`shlex` --- Simple lexical analysis
 ========================================
 
 
 .. versionadded:: 1.5.2
 
+**Source code:** :source:`Lib/shlex.py`
+
+--------------
+
+
 The :class:`shlex` class makes it easy to write lexical analyzers for simple
 syntaxes resembling that of the Unix shell.  This will often be useful for
 writing minilanguages, (for example, in run control files for Python
index cb0a9ae9336c2348c5015147ce825109ee23a697..98b249f2ca22d06ad4b1f69e9a8bd9869d73ca58 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`shutil` --- High-level file operations
 ============================================
 
    single: file; copying
    single: copying files
 
+**Source code:** :source:`Lib/shutil.py`
+
+--------------
+
 The :mod:`shutil` module offers a number of high-level operations on files and
 collections of files.  In particular, functions are provided  which support file
 copying and removal. For operations on individual files, see also the
 :mod:`os` module.
 
-.. seealso::
-
-   Latest version of the `shutil module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/shutil.py?view=markup>`_
-
 .. warning::
 
    Even the higher-level file copying functions (:func:`copy`, :func:`copy2`)
index c0819bfbf87572ef401249b9beb456e9e67bcfbd..3618728ac1eea28453bce1ba4c686e92a1f96512 100644 (file)
 
 .. versionadded:: 2.2
 
+**Source code:** :source:`Lib/SimpleXMLRPCServer.py`
+
+--------------
+
 The :mod:`SimpleXMLRPCServer` module provides a basic server framework for
 XML-RPC servers written in Python.  Servers can either be free standing, using
 :class:`SimpleXMLRPCServer`, or embedded in a CGI environment, using
index 6ad156ea396e619c1313eab5c34b6cfad522a997..e35eeee5f3909f56ffab56857d3ad136a40992f6 100644 (file)
@@ -1,10 +1,12 @@
-
 :mod:`site` --- Site-specific configuration hook
 ================================================
 
 .. module:: site
    :synopsis: A standard way to reference site-specific modules.
 
+**Source code:** :source:`Lib/site.py`
+
+--------------
 
 **This module is automatically imported during initialization.** The automatic
 import can be suppressed using the interpreter's :option:`-S` option.
index 276751634d1abaff6c3565580f72c9bcbf1440f9..ebb0b302d226a303a89a994de7dc460f5ca918a2 100644 (file)
@@ -7,8 +7,9 @@
 .. moduleauthor:: Barry Warsaw <barry@zope.com>
 .. sectionauthor:: Moshe Zadka <moshez@moshez.org>
 
+**Source code:** :source:`Lib/smtpd.py`
 
-
+--------------
 
 This module offers several classes to implement SMTP servers.  One is a generic
 do-nothing implementation, which can be overridden, while the other two offer
index d59ebf7398b8feb921bd6f536b9839991e7747ff..b0b58e8e8a11e642ef8925ca802649565f1916b0 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`smtplib` --- SMTP protocol client
 =======================================
 
    pair: SMTP; protocol
    single: Simple Mail Transfer Protocol
 
+**Source code:** :source:`Lib/smtplib.py`
+
+--------------
+
 The :mod:`smtplib` module defines an SMTP client session object that can be used
 to send mail to any Internet machine with an SMTP or ESMTP listener daemon.  For
 details of SMTP and ESMTP operation, consult :rfc:`821` (Simple Mail Transfer
index 01a3917a32c5e5f3bc4d435f340e205b8487db26..f36df68703474524877fa9a7c961fdf05b6925be 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`sndhdr` --- Determine type of sound file
 ==============================================
 
    single: A-LAW
    single: u-LAW
 
+**Source code:** :source:`Lib/sndhdr.py`
+
+--------------
+
 The :mod:`sndhdr` provides utility functions which attempt to determine the type
 of sound data which is in a file.  When these functions are able to determine
 what type of sound data is stored in a file, they return a tuple ``(type,
index b7bd91ff0b243fabacb556ad06ea38cc23c9ea19..4c48267b0aefa8a0445dc283d7a8e437aeb3ae8a 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`SocketServer` --- A framework for network servers
 =======================================================
 
@@ -11,6 +10,9 @@
    Python 3.0.  The :term:`2to3` tool will automatically adapt imports when
    converting your sources to 3.0.
 
+**Source code:** :source:`Lib/SocketServer.py`
+
+--------------
 
 The :mod:`SocketServer` module simplifies the task of writing network servers.
 
index f4cac3a14a5f6b457eaf901fcb5a1e7eb16cf661..482ef0843c65e37390f6f5d80e54a0ac330a833e 100644 (file)
@@ -5,9 +5,6 @@
    :synopsis: TLS/SSL wrapper for socket objects
 
 .. moduleauthor:: Bill Janssen <bill.janssen@gmail.com>
-
-.. versionadded:: 2.6
-
 .. sectionauthor::  Bill Janssen <bill.janssen@gmail.com>
 
 
 
 .. index:: TLS, SSL, Transport Layer Security, Secure Sockets Layer
 
+.. versionadded:: 2.6
+
+**Source code:** :source:`Lib/ssl.py`
+
+--------------
+
 This module provides access to Transport Layer Security (often known as "Secure
 Sockets Layer") encryption and peer authentication facilities for network
 sockets, both client-side and server-side.  This module uses the OpenSSL
index a62d9da1074914594a452a772fd82ed8af5ec79c..8fd90daad60682d6ce5a74218106654713df4ea7 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`stat` --- Interpreting :func:`stat` results
 =================================================
 
@@ -6,6 +5,9 @@
    :synopsis: Utilities for interpreting the results of os.stat(), os.lstat() and os.fstat().
 .. sectionauthor:: Skip Montanaro <skip@automatrix.com>
 
+**Source code:** :source:`Lib/stat.py`
+
+--------------
 
 The :mod:`stat` module defines constants and functions for interpreting the
 results of :func:`os.stat`, :func:`os.fstat` and :func:`os.lstat` (if they
index d785b7bb89f55a9c0c65afb7b1939fcc20a5dbdd..9ee81b596cb31b09cdbc69c1c3291e0b70b2e221 100644 (file)
@@ -7,6 +7,10 @@
 
 .. index:: module: re
 
+**Source code:** :source:`Lib/string.py`
+
+--------------
+
 The :mod:`string` module contains a number of useful constants and
 classes, as well as some deprecated legacy functions that are also
 available as methods on strings. In addition, Python's built-in string
@@ -17,12 +21,6 @@ template strings or the ``%`` operator described in the
 :ref:`string-formatting` section. Also, see the :mod:`re` module for
 string functions based on regular expressions.
 
-.. seealso::
-
-   Latest version of the `string module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/string.py?view=markup>`_
-
-
 String constants
 ----------------
 
index 3f231b4952811060929e6eab0ab8f807710d6f96..4bdb99bea6161a033e53c1760bd6f05e1eba6778 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`sunau` --- Read and write Sun AU files
 ============================================
 
@@ -6,6 +5,9 @@
    :synopsis: Provide an interface to the Sun AU sound format.
 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
 
+**Source code:** :source:`Lib/sunau.py`
+
+--------------
 
 The :mod:`sunau` module provides a convenient interface to the Sun AU sound
 format.  Note that this module is interface-compatible with the modules
index 1735276fbeeb03b71e5ae70c69c86ed6e5e0cef1..75a47923a80b6eaa167fe52a72011d7f9aa69def 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`symbol` --- Constants used with Python parse trees
 ========================================================
 
@@ -6,6 +5,9 @@
    :synopsis: Constants representing internal nodes of the parse tree.
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`Lib/symbol.py`
+
+--------------
 
 This module provides constants which represent the numeric values of internal
 nodes of the parse tree.  Unlike most Python constants, these use lower-case
index 38aae0a4072be7fea5bce6fc08db418c872adadb..5ba6fa26f270b25c72ecaa7d85903c31d3f5c100 100644 (file)
@@ -5,10 +5,15 @@
    :synopsis: Python's configuration information
 .. moduleauthor:: Tarek Ziade <tarek@ziade.org>
 .. sectionauthor:: Tarek Ziade <tarek@ziade.org>
-.. versionadded:: 2.7
 .. index::
    single: configuration information
 
+.. versionadded:: 2.7
+
+**Source code:** :source:`Lib/sysconfig.py`
+
+--------------
+
 The :mod:`sysconfig` module provides access to Python's configuration
 information like the list of installation paths and the configuration variables
 relevant for the current platform.
index b86971df33b3b9d3cd75eeb61c6ca7527be7f35b..f447f1207ebe87d0b7ce27702397c3f2196cedf9 100644 (file)
@@ -9,6 +9,10 @@
 
 .. rudimentary documentation based on module comments
 
+**Source code:** :source:`Lib/tabnanny.py`
+
+--------------
+
 For the time being this module is intended to be called as a script. However it
 is possible to import it into an IDE and use the function :func:`check`
 described below.
index 854ed7466a9ebdf50e62a217c0e243603fbb9572..5502adce74fc9d302cdd92e3572479ad2798ec46 100644 (file)
@@ -10,6 +10,9 @@
 .. moduleauthor:: Lars Gustäbel <lars@gustaebel.de>
 .. sectionauthor:: Lars Gustäbel <lars@gustaebel.de>
 
+**Source code:** :source:`Lib/tarfile.py`
+
+--------------
 
 The :mod:`tarfile` module makes it possible to read and write tar
 archives, including those using gzip or bz2 compression.
index 925eccc63b006766655fd33b0a6566687d2c7ad5..f6340a99edbc551a3692c0da182d81607a220443 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`telnetlib` --- Telnet client
 ==================================
 
@@ -9,6 +8,10 @@
 
 .. index:: single: protocol; Telnet
 
+**Source code:** :source:`Lib/telnetlib.py`
+
+--------------
+
 The :mod:`telnetlib` module provides a :class:`Telnet` class that implements the
 Telnet protocol.  See :rfc:`854` for details about the protocol. In addition, it
 provides symbolic constants for the protocol characters (see below), and for the
index 7ef8a2f6e0832fd2f5f0a1b1a5d69113c29b8b62..936f06a0cafca01a1a943544ee97c7b423edaa87 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`tempfile` --- Generate temporary files and directories
 ============================================================
 
    pair: temporary; file name
    pair: temporary; file
 
+**Source code:** :source:`Lib/tempfile.py`
+
+--------------
+
 This module generates temporary files and directories.  It works on all
 supported platforms.
 
index 8fbfe9c1c10fa7c58081a2f9bd300ef8ff5cd6e0..84e6ee1d093b5fd83c65cd444905c2f3e66d3c9e 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`textwrap` --- Text wrapping and filling
 =============================================
 
@@ -7,20 +6,18 @@
 .. moduleauthor:: Greg Ward <gward@python.net>
 .. sectionauthor:: Greg Ward <gward@python.net>
 
-
 .. versionadded:: 2.3
 
+**Source code:** :source:`Lib/textwrap.py`
+
+--------------
+
 The :mod:`textwrap` module provides two convenience functions, :func:`wrap` and
 :func:`fill`, as well as :class:`TextWrapper`, the class that does all the work,
 and a utility function  :func:`dedent`.  If you're just wrapping or filling one
 or two  text strings, the convenience functions should be good enough;
 otherwise,  you should use an instance of :class:`TextWrapper` for efficiency.
 
-.. seealso::
-
-   Latest version of the `textwrap module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/textwrap.py?view=markup>`_
-
 .. function:: wrap(text[, width[, ...]])
 
    Wraps the single paragraph in *text* (a string) so every line is at most *width*
index 0b4634934291c397e109dd68285442b46b5c5286..9544466b10c0e6f7af8e9667965859a432bc316a 100644 (file)
@@ -4,6 +4,9 @@
 .. module:: threading
    :synopsis: Higher-level threading interface.
 
+**Source code:** :source:`Lib/threading.py`
+
+--------------
 
 This module constructs higher-level threading interfaces on top of the  lower
 level :mod:`thread` module.
@@ -36,11 +39,6 @@ The :mod:`dummy_threading` module is provided for situations where
    :mod:`multiprocessing`. However, threading is still an appropriate model
    if you want to run multiple I/O-bound tasks simultaneously.
 
-.. seealso::
-
-   Latest version of the `threading module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/threading.py?view=markup>`_
-
 
 This module defines the following functions and objects:
 
index 21f9796cd93b55da836eed8c012ac72ca97ac8db..7fbe19e9fc63d79a64bf6bf646fe0903fb1698b2 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`timeit` --- Measure execution time of small code snippets
 ===============================================================
 
    single: Benchmarking
    single: Performance
 
+**Source code:** :source:`Lib/timeit.py`
+
+--------------
+
 This module provides a simple way to time small bits of Python code. It has both
 command line as well as callable interfaces.  It avoids a number of common traps
 for measuring execution times.  See also Tim Peters' introduction to the
index 00972b096ed6d7e991c6f2dece8464632544d032..4b98eac92811def3cbb321eb035532866df1abea 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`token` --- Constants used with Python parse trees
 =======================================================
 
@@ -6,6 +5,9 @@
    :synopsis: Constants representing terminal nodes of the parse tree.
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`Lib/token.py`
+
+--------------
 
 This module provides constants which represent the numeric values of leaf nodes
 of the parse tree (terminal tokens).  Refer to the file :file:`Grammar/Grammar`
index 2a7dea10251dc51e697b6c4b1903650f32b39c64..30677eaadce700160015a9ddce6a726c9e218026 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`tokenize` --- Tokenizer for Python source
 ===============================================
 
@@ -7,17 +6,15 @@
 .. moduleauthor:: Ka Ping Yee
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`Lib/tokenize.py`
+
+--------------
 
 The :mod:`tokenize` module provides a lexical scanner for Python source code,
 implemented in Python.  The scanner in this module returns comments as tokens as
 well, making it useful for implementing "pretty-printers," including colorizers
 for on-screen displays.
 
-.. seealso::
-
-   Latest version of the `tokenize module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/tokenize.py?view=markup>`_
-
 The primary entry point is a :term:`generator`:
 
 .. function:: generate_tokens(readline)
index 2e9d2b4d86137efdc645a21e0516b3cd8c9c1b0a..a2afda184331e20b24839ef57a2d6785e60eb9d7 100644 (file)
@@ -1,21 +1,18 @@
-
 :mod:`trace` --- Trace or track Python statement execution
 ==========================================================
 
 .. module:: trace
    :synopsis: Trace or track Python statement execution.
 
+**Source code:** :source:`Lib/trace.py`
+
+--------------
 
 The :mod:`trace` module allows you to trace program execution, generate
 annotated statement coverage listings, print caller/callee relationships and
 list functions executed during a program run.  It can be used in another program
 or from the command line.
 
-.. seealso::
-
-   Latest version of the `trace module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/trace.py?view=markup>`_
-
 .. _trace-cli:
 
 Command-Line Usage
index 637704be76845c167f6adfde9b233c9fe13555fd..77cf014dc1de3d09dc3ecc8d05652b05b3641cf4 100644 (file)
@@ -4,6 +4,9 @@
 .. module:: types
    :synopsis: Names for built-in types.
 
+**Source code:** :source:`Lib/types.py`
+
+--------------
 
 This module defines names for some object types that are used by the standard
 Python interpreter, but not for the types defined by various extension modules.
index 88dafa97c5381bb51a2d79cdaebe957d9e8d7c94..f118845e8ed64046b00ba6e0d443dd217f6e3442 100644 (file)
@@ -17,6 +17,9 @@
    The :term:`2to3` tool will automatically adapt imports when converting
    your sources to 3.0.
 
+**Source code:** :source:`Lib/urlparse.py`
+
+--------------
 
 This module defines a standard interface to break Uniform Resource Locator (URL)
 strings up in components (addressing scheme, network location, path etc.), to
@@ -33,11 +36,6 @@ following URL schemes: ``file``, ``ftp``, ``gopher``, ``hdl``, ``http``,
 .. versionadded:: 2.5
    Support for the ``sftp`` and ``sips`` schemes.
 
-.. seealso::
-
-   Latest version of the `urlparse module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/urlparse.py?view=markup>`_
-
 The :mod:`urlparse` module defines the following functions:
 
 
index ab9ab042761ea5aad1bdf90a5d0743d7457b58f7..1c756742cd5241a1968f2441c381f54062a4a039 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`UserDict` --- Class wrapper for dictionary objects
 ========================================================
 
@@ -6,6 +5,10 @@
    :synopsis: Class wrapper for dictionary objects.
 
 
+**Source code:** :source:`Lib/UserDict.py`
+
+--------------
+
 The module defines a mixin,  :class:`DictMixin`, defining all dictionary methods
 for classes that already have a minimum mapping interface.  This greatly
 simplifies writing classes that need to be substitutable for dictionaries (such
@@ -19,11 +22,6 @@ available starting with Python version 2.2).  Prior to the introduction of
 sub-classes that obtained new behaviors by overriding existing methods or adding
 new ones.
 
-.. seealso::
-
-   Latest version of the `UserDict Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/UserDict.py?view=markup>`_
-
 The :mod:`UserDict` module defines the :class:`UserDict` class and
 :class:`DictMixin`:
 
index fa1477b3452a1bd8f2f09ba43307b3617ff31f4d..1608d4112c19dff6252029f659336e62eb6dd9c2 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`uu` --- Encode and decode uuencode files
 ==============================================
 
@@ -6,6 +5,9 @@
    :synopsis: Encode and decode files in uuencode format.
 .. moduleauthor:: Lance Ellinghouse
 
+**Source code:** :source:`Lib/uu.py`
+
+--------------
 
 This module encodes and decodes files in uuencode format, allowing arbitrary
 binary data to be transferred over ASCII-only connections. Wherever a file
@@ -22,11 +24,6 @@ that, when required, the mode is ``'rb'`` or ``'wb'`` on Windows.
 
 This code was contributed by Lance Ellinghouse, and modified by Jack Jansen.
 
-.. seealso::
-
-   Latest version of the `uu module Python source code
-   <http://svn.python.org/view/python/branches/release27-maint/Lib/uu.py?view=markup>`_
-
 The :mod:`uu` module defines the following functions:
 
 
@@ -62,4 +59,3 @@ The :mod:`uu` module defines the following functions:
 
    Module :mod:`binascii`
       Support module containing ASCII-to-binary and binary-to-ASCII conversions.
-
index b3c1994d3488d783496a9db64ce096c3a0c28b81..dbcf148995e9c1dbd107be16a6b707c99c4ffc50 100644 (file)
@@ -9,6 +9,10 @@
 
 .. versionadded:: 2.1
 
+**Source code:** :source:`Lib/warnings.py`
+
+--------------
+
 Warning messages are typically issued in situations where it is useful to alert
 the user of some condition in a program, where that condition (normally) doesn't
 warrant raising an exception and terminating the program.  For example, one
index c1db5230737f603433771733098dd9083334807b..93ea5e086c50162c01630499e852cf6c8a8a5fdd 100644 (file)
@@ -6,6 +6,10 @@
 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
 .. Documentations stolen from comments in file.
 
+**Source code:** :source:`Lib/wave.py`
+
+--------------
+
 The :mod:`wave` module provides a convenient interface to the WAV sound format.
 It does not support compression/decompression, but it does support mono/stereo.
 
index 9c655871b5ed93f5a6ab65a2a9ca89e327396380..7929c5179e596659fadffc001dbe2228d14e17f1 100644 (file)
 
 .. versionadded:: 2.1
 
+**Source code:** :source:`Lib/weakref.py`
+
+--------------
+
 The :mod:`weakref` module allows the Python programmer to create :dfn:`weak
 references` to objects.
 
index 74e12a2c58718a3a235dfd8baab2991b59b74d11..1a27d07b23fcda6da40ef68732bcdc1d78549314 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`webbrowser` --- Convenient Web-browser controller
 =======================================================
 
@@ -7,6 +6,9 @@
 .. moduleauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`Lib/webbrowser.py`
+
+--------------
 
 The :mod:`webbrowser` module provides a high-level interface to allow displaying
 Web-based documents to users. Under most circumstances, simply calling the
index 34d881d9783fae2040e83f41eea6df3755014d05..e56650cd3aff70d806a716c3fc347dabcda938dc 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`xdrlib` --- Encode and decode XDR data
 ============================================
 
@@ -10,6 +9,10 @@
    single: XDR
    single: External Data Representation
 
+**Source code:** :source:`Lib/xdrlib.py`
+
+--------------
+
 The :mod:`xdrlib` module supports the External Data Representation Standard as
 described in :rfc:`1014`, written by Sun Microsystems, Inc. June 1987.  It
 supports most of the data types described in the RFC.
index 064ddd48132b7cd80edf281973d157bbf957a0e8..69e9e56a1fd4113e5327cf7462994ed21b476f85 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`xml.dom.minidom` --- Lightweight DOM implementation
 =========================================================
 
 
 .. versionadded:: 2.0
 
+**Source code:** :source:`Lib/xml/dom/minidom.py`
+
+--------------
+
 :mod:`xml.dom.minidom` is a light-weight implementation of the Document Object
 Model interface.  It is intended to be simpler than the full DOM and also
 significantly smaller.
index 80a91b8ec7fe3a32a44863643dac438b595196b1..bad0daa7335fb849615a5adbc768acdef088717c 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`xml.dom.pulldom` --- Support for building partial DOM trees
 =================================================================
 
@@ -9,6 +8,10 @@
 
 .. versionadded:: 2.0
 
+**Source code:** :source:`Lib/xml/dom/pulldom.py`
+
+--------------
+
 :mod:`xml.dom.pulldom` allows building only selected portions of a Document
 Object Model representation of a document from SAX events.
 
index def46696908b0b51ec61dbc6519bf18ed5897c50..a40fb65ee6ebda1ae2cb2bb54f39aab7a50e9fe3 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`xml.etree.ElementTree` --- The ElementTree XML API
 ========================================================
 
@@ -9,6 +8,10 @@
 
 .. versionadded:: 2.5
 
+**Source code:** :source:`Lib/xml/etree/ElementTree.py`
+
+--------------
+
 The :class:`Element` type is a flexible container object, designed to store
 hierarchical data structures in memory.  The type can be described as a cross
 between a list and a dictionary.
index 02011e87c13851327c1cb80b87f873314de6b8e3..320e01982164cc757c3fbb85dacc47eb078a324e 100644 (file)
 
 .. versionadded:: 2.2
 
+**Source code:** :source:`Lib/xmlrpclib.py`
+
+--------------
+
 XML-RPC is a Remote Procedure Call method that uses XML passed via HTTP as a
 transport.  With it, a client can call methods with parameters on a remote
 server (the server is named by a URI) and get back structured data.  This module
index 51240ba50a63cad7477064c27b1537f24f13d0c7..30a03614ba53873ed7090e9d8bbd9f94f7d2a061 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`zipfile` --- Work with ZIP archives
 =========================================
 
@@ -9,6 +8,10 @@
 
 .. versionadded:: 1.6
 
+**Source code:** :source:`Lib/zipfile.py`
+
+--------------
+
 The ZIP file format is a common archive and compression standard. This module
 provides tools to create, read, write, append, and list a ZIP file.  Any
 advanced use of this module will require an understanding of the format, as