summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-27 01:20:32 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-27 01:20:32 (GMT)
commita199368b230026fa37987852fe8802992a126ab7 (patch)
tree270276511cbcdb1a582bdccda0a47ec27edad5ee /Doc/library
parent8b5eb2f813b8e22e97308c18a61f1824f962604c (diff)
downloadcpython-a199368b230026fa37987852fe8802992a126ab7.zip
cpython-a199368b230026fa37987852fe8802992a126ab7.tar.gz
cpython-a199368b230026fa37987852fe8802992a126ab7.tar.bz2
More source links.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/argparse.rst6
-rw-r--r--Doc/library/bdb.rst4
-rw-r--r--Doc/library/cgi.rst4
-rw-r--r--Doc/library/collections.rst2
-rw-r--r--Doc/library/colorsys.rst3
-rw-r--r--Doc/library/concurrent.futures.rst5
-rw-r--r--Doc/library/html.entities.rst3
-rw-r--r--Doc/library/html.parser.rst4
-rw-r--r--Doc/library/html.rst3
-rw-r--r--Doc/library/pyclbr.rst3
-rw-r--r--Doc/library/runpy.rst3
-rw-r--r--Doc/library/shlex.rst3
-rw-r--r--Doc/library/symbol.rst3
-rw-r--r--Doc/library/sysconfig.rst7
-rw-r--r--Doc/library/tabnanny.rst4
-rw-r--r--Doc/library/tarfile.rst3
-rw-r--r--Doc/library/tempfile.rst4
-rw-r--r--Doc/library/timeit.rst4
-rw-r--r--Doc/library/token.rst3
-rw-r--r--Doc/library/types.rst3
20 files changed, 71 insertions, 3 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 6399ce7..9a65ada 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -4,9 +4,13 @@
.. module:: argparse
:synopsis: Command-line option and argument parsing library.
.. moduleauthor:: Steven Bethard <steven.bethard@gmail.com>
-.. versionadded:: 3.2
.. sectionauthor:: Steven Bethard <steven.bethard@gmail.com>
+**Source code:** :source:`Lib/argparse.py`
+
+.. versionadded:: 3.2
+
+--------------
The :mod:`argparse` module makes it easy to write user friendly command line
interfaces. The program defines what arguments it requires, and :mod:`argparse`
diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst
index 1609c55..0737602 100644
--- a/Doc/library/bdb.rst
+++ b/Doc/library/bdb.rst
@@ -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.
diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst
index 8c75517..1e2498d 100644
--- a/Doc/library/cgi.rst
+++ b/Doc/library/cgi.rst
@@ -13,6 +13,10 @@
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
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 4096cbb..4a92b05 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -12,7 +12,7 @@
import itertools
__name__ = '<doctest>'
-**Source code:** :source:`Lib/collections.py`
+**Source code:** :source:`Lib/collections.py` and :source:`Lib/_abcoll.py`
--------------
diff --git a/Doc/library/colorsys.rst b/Doc/library/colorsys.rst
index 2cbc704..dbab706 100644
--- a/Doc/library/colorsys.rst
+++ b/Doc/library/colorsys.rst
@@ -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
diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst
index aeb792e..0cb170b 100644
--- a/Doc/library/concurrent.futures.rst
+++ b/Doc/library/concurrent.futures.rst
@@ -4,8 +4,13 @@
.. module:: concurrent.futures
:synopsis: Execute computations concurrently using threads or processes.
+**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
asynchronously executing callables.
diff --git a/Doc/library/html.entities.rst b/Doc/library/html.entities.rst
index aa67bae..239ae50 100644
--- a/Doc/library/html.entities.rst
+++ b/Doc/library/html.entities.rst
@@ -5,6 +5,9 @@
:synopsis: Definitions of HTML general entities.
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
+**Source code:** :source:`Lib/html/entities.py`
+
+--------------
This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``,
and ``entitydefs``. ``entitydefs`` is used to provide the :attr:`entitydefs`
diff --git a/Doc/library/html.parser.rst b/Doc/library/html.parser.rst
index e415700..8a0416e 100644
--- a/Doc/library/html.parser.rst
+++ b/Doc/library/html.parser.rst
@@ -9,6 +9,10 @@
single: HTML
single: XHTML
+**Source code:** :source:`Lib/html/parser.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.
diff --git a/Doc/library/html.rst b/Doc/library/html.rst
index 2c42cf8..0063db6 100644
--- a/Doc/library/html.rst
+++ b/Doc/library/html.rst
@@ -6,6 +6,9 @@
.. versionadded:: 3.2
+**Source code:** :source:`Lib/html/__init__.py`
+
+--------------
This module defines utilities to manipulate HTML.
diff --git a/Doc/library/pyclbr.rst b/Doc/library/pyclbr.rst
index 11a0b6d..d4a76a6 100644
--- a/Doc/library/pyclbr.rst
+++ b/Doc/library/pyclbr.rst
@@ -5,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
diff --git a/Doc/library/runpy.rst b/Doc/library/runpy.rst
index 10e5ebc..f7c77f6 100644
--- a/Doc/library/runpy.rst
+++ b/Doc/library/runpy.rst
@@ -5,6 +5,9 @@
:synopsis: Locate and run Python modules without importing them first.
.. moduleauthor:: Nick Coghlan <ncoghlan@gmail.com>
+**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
diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst
index 0bc99fd..03c9f98 100644
--- a/Doc/library/shlex.rst
+++ b/Doc/library/shlex.rst
@@ -8,6 +8,9 @@
.. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com>
.. sectionauthor:: Gustavo Niemeyer <niemeyer@conectiva.com>
+**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
diff --git a/Doc/library/symbol.rst b/Doc/library/symbol.rst
index 5134d47..75a4792 100644
--- a/Doc/library/symbol.rst
+++ b/Doc/library/symbol.rst
@@ -5,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
diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst
index 773480b..1e89bd0 100644
--- a/Doc/library/sysconfig.rst
+++ b/Doc/library/sysconfig.rst
@@ -5,10 +5,15 @@
:synopsis: Python's configuration information
.. moduleauthor:: Tarek Ziade <tarek@ziade.org>
.. sectionauthor:: Tarek Ziade <tarek@ziade.org>
-.. versionadded:: 3.2
.. index::
single: configuration information
+**Source code:** :source:`Lib/sysconfig.py`
+
+.. versionadded:: 3.2
+
+--------------
+
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.
diff --git a/Doc/library/tabnanny.rst b/Doc/library/tabnanny.rst
index 549ce36..4f3e705 100644
--- a/Doc/library/tabnanny.rst
+++ b/Doc/library/tabnanny.rst
@@ -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.
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst
index d578a79..9b7071b 100644
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -8,6 +8,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.
diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst
index 5caea67..1e0a31f 100644
--- a/Doc/library/tempfile.rst
+++ b/Doc/library/tempfile.rst
@@ -12,6 +12,10 @@
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. It provides three new functions,
:func:`NamedTemporaryFile`, :func:`mkstemp`, and :func:`mkdtemp`, which should
diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst
index 4a0b9c2..a03e40e 100644
--- a/Doc/library/timeit.rst
+++ b/Doc/library/timeit.rst
@@ -9,6 +9,10 @@
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
diff --git a/Doc/library/token.rst b/Doc/library/token.rst
index 991762f..4b98eac 100644
--- a/Doc/library/token.rst
+++ b/Doc/library/token.rst
@@ -5,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`
diff --git a/Doc/library/types.rst b/Doc/library/types.rst
index 7caecaf..d4a76b6 100644
--- a/Doc/library/types.rst
+++ b/Doc/library/types.rst
@@ -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 exposed as builtins like :class:`int` or