diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 6399ce7a611..9a65adad447 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 -.. versionadded:: 3.2 .. sectionauthor:: Steven Bethard +**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 1609c55fea3..07376024b81 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 8c75517b574..1e2498d4609 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 4096cbbad59..4a92b052aa5 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -12,7 +12,7 @@ import itertools __name__ = '' -**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 2cbc704db1c..dbab7063e10 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 +**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 aeb792e4948..0cb170b4a6b 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 aa67bae7a32..239ae505418 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. +**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 e415700b392..8a0416ea2f4 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 2c42cf852b5..0063db60cd3 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 11a0b6d37cb..d4a76a64797 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. +**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 10e5ebcec2d..f7c77f6b8d7 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 +**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 0bc99fdc553..03c9f98a04f 100644 --- a/Doc/library/shlex.rst +++ b/Doc/library/shlex.rst @@ -8,6 +8,9 @@ .. sectionauthor:: Eric S. Raymond .. sectionauthor:: Gustavo Niemeyer +**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 5134d472697..75a47923a80 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. +**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 773480b62b5..1e89bd02eed 100644 --- a/Doc/library/sysconfig.rst +++ b/Doc/library/sysconfig.rst @@ -5,10 +5,15 @@ :synopsis: Python's configuration information .. moduleauthor:: Tarek Ziade .. sectionauthor:: Tarek Ziade -.. 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 549ce368b71..4f3e705cab6 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 d578a794213..9b7071bf69f 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -8,6 +8,9 @@ .. moduleauthor:: Lars Gustäbel .. sectionauthor:: Lars Gustäbel +**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 5caea677e3a..1e0a31fdcf7 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 4a0b9c257b1..a03e40e1b32 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 991762f4e62..4b98eac9281 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. +**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 7caecaf4f6f..d4a76b611bd 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