mirror of https://github.com/python/cpython
More source links.
This commit is contained in:
parent
8b5eb2f813
commit
a199368b23
|
@ -4,9 +4,13 @@
|
||||||
.. module:: argparse
|
.. module:: argparse
|
||||||
:synopsis: Command-line option and argument parsing library.
|
:synopsis: Command-line option and argument parsing library.
|
||||||
.. moduleauthor:: Steven Bethard <steven.bethard@gmail.com>
|
.. moduleauthor:: Steven Bethard <steven.bethard@gmail.com>
|
||||||
.. versionadded:: 3.2
|
|
||||||
.. sectionauthor:: Steven Bethard <steven.bethard@gmail.com>
|
.. 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
|
The :mod:`argparse` module makes it easy to write user friendly command line
|
||||||
interfaces. The program defines what arguments it requires, and :mod:`argparse`
|
interfaces. The program defines what arguments it requires, and :mod:`argparse`
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
.. module:: bdb
|
.. module:: bdb
|
||||||
:synopsis: Debugger framework.
|
:synopsis: Debugger framework.
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/bdb.py`
|
||||||
|
|
||||||
|
--------------
|
||||||
|
|
||||||
The :mod:`bdb` module handles basic debugger functions, like setting breakpoints
|
The :mod:`bdb` module handles basic debugger functions, like setting breakpoints
|
||||||
or managing execution via the debugger.
|
or managing execution via the debugger.
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,10 @@
|
||||||
single: URL
|
single: URL
|
||||||
single: Common Gateway Interface
|
single: Common Gateway Interface
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/cgi.py`
|
||||||
|
|
||||||
|
--------------
|
||||||
|
|
||||||
Support module for Common Gateway Interface (CGI) scripts.
|
Support module for Common Gateway Interface (CGI) scripts.
|
||||||
|
|
||||||
This module defines a number of utilities for use by CGI scripts written in
|
This module defines a number of utilities for use by CGI scripts written in
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
import itertools
|
import itertools
|
||||||
__name__ = '<doctest>'
|
__name__ = '<doctest>'
|
||||||
|
|
||||||
**Source code:** :source:`Lib/collections.py`
|
**Source code:** :source:`Lib/collections.py` and :source:`Lib/_abcoll.py`
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
:synopsis: Conversion functions between RGB and other color systems.
|
:synopsis: Conversion functions between RGB and other color systems.
|
||||||
.. sectionauthor:: David Ascher <da@python.net>
|
.. sectionauthor:: David Ascher <da@python.net>
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/colorsys.py`
|
||||||
|
|
||||||
|
--------------
|
||||||
|
|
||||||
The :mod:`colorsys` module defines bidirectional conversions of color values
|
The :mod:`colorsys` module defines bidirectional conversions of color values
|
||||||
between colors expressed in the RGB (Red Green Blue) color space used in
|
between colors expressed in the RGB (Red Green Blue) color space used in
|
||||||
|
|
|
@ -4,8 +4,13 @@
|
||||||
.. module:: concurrent.futures
|
.. module:: concurrent.futures
|
||||||
:synopsis: Execute computations concurrently using threads or processes.
|
: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
|
.. 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
|
||||||
asynchronously executing callables.
|
asynchronously executing callables.
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
:synopsis: Definitions of HTML general entities.
|
:synopsis: Definitions of HTML general entities.
|
||||||
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
|
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/html/entities.py`
|
||||||
|
|
||||||
|
--------------
|
||||||
|
|
||||||
This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``,
|
This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``,
|
||||||
and ``entitydefs``. ``entitydefs`` is used to provide the :attr:`entitydefs`
|
and ``entitydefs``. ``entitydefs`` is used to provide the :attr:`entitydefs`
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
single: HTML
|
single: HTML
|
||||||
single: XHTML
|
single: XHTML
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/html/parser.py`
|
||||||
|
|
||||||
|
--------------
|
||||||
|
|
||||||
This module defines a class :class:`HTMLParser` which serves as the basis for
|
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.
|
parsing text files formatted in HTML (HyperText Mark-up Language) and XHTML.
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
|
|
||||||
.. versionadded:: 3.2
|
.. versionadded:: 3.2
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/html/__init__.py`
|
||||||
|
|
||||||
|
--------------
|
||||||
|
|
||||||
This module defines utilities to manipulate HTML.
|
This module defines utilities to manipulate HTML.
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
:synopsis: Supports information extraction for a Python class browser.
|
:synopsis: Supports information extraction for a Python class browser.
|
||||||
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
|
.. 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
|
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
|
about the classes, methods and top-level functions defined in a module. The
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
:synopsis: Locate and run Python modules without importing them first.
|
:synopsis: Locate and run Python modules without importing them first.
|
||||||
.. moduleauthor:: Nick Coghlan <ncoghlan@gmail.com>
|
.. 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
|
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
|
importing them first. Its main use is to implement the :option:`-m` command
|
||||||
|
|
|
@ -8,6 +8,9 @@
|
||||||
.. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com>
|
.. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com>
|
||||||
.. sectionauthor:: Gustavo Niemeyer <niemeyer@conectiva.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
|
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
|
syntaxes resembling that of the Unix shell. This will often be useful for
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
:synopsis: Constants representing internal nodes of the parse tree.
|
:synopsis: Constants representing internal nodes of the parse tree.
|
||||||
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
|
.. 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
|
This module provides constants which represent the numeric values of internal
|
||||||
nodes of the parse tree. Unlike most Python constants, these use lower-case
|
nodes of the parse tree. Unlike most Python constants, these use lower-case
|
||||||
|
|
|
@ -5,10 +5,15 @@
|
||||||
:synopsis: Python's configuration information
|
:synopsis: Python's configuration information
|
||||||
.. moduleauthor:: Tarek Ziade <tarek@ziade.org>
|
.. moduleauthor:: Tarek Ziade <tarek@ziade.org>
|
||||||
.. sectionauthor:: Tarek Ziade <tarek@ziade.org>
|
.. sectionauthor:: Tarek Ziade <tarek@ziade.org>
|
||||||
.. versionadded:: 3.2
|
|
||||||
.. index::
|
.. index::
|
||||||
single: configuration information
|
single: configuration information
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/sysconfig.py`
|
||||||
|
|
||||||
|
.. versionadded:: 3.2
|
||||||
|
|
||||||
|
--------------
|
||||||
|
|
||||||
The :mod:`sysconfig` module provides access to Python's configuration
|
The :mod:`sysconfig` module provides access to Python's configuration
|
||||||
information like the list of installation paths and the configuration variables
|
information like the list of installation paths and the configuration variables
|
||||||
relevant for the current platform.
|
relevant for the current platform.
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
|
|
||||||
.. rudimentary documentation based on module comments
|
.. 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
|
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`
|
is possible to import it into an IDE and use the function :func:`check`
|
||||||
described below.
|
described below.
|
||||||
|
|
|
@ -8,6 +8,9 @@
|
||||||
.. moduleauthor:: Lars Gustäbel <lars@gustaebel.de>
|
.. moduleauthor:: Lars Gustäbel <lars@gustaebel.de>
|
||||||
.. sectionauthor:: 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
|
The :mod:`tarfile` module makes it possible to read and write tar
|
||||||
archives, including those using gzip or bz2 compression.
|
archives, including those using gzip or bz2 compression.
|
||||||
|
|
|
@ -12,6 +12,10 @@
|
||||||
pair: temporary; file name
|
pair: temporary; file name
|
||||||
pair: temporary; file
|
pair: temporary; file
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/tempfile.py`
|
||||||
|
|
||||||
|
--------------
|
||||||
|
|
||||||
This module generates temporary files and directories. It works on all
|
This module generates temporary files and directories. It works on all
|
||||||
supported platforms. It provides three new functions,
|
supported platforms. It provides three new functions,
|
||||||
:func:`NamedTemporaryFile`, :func:`mkstemp`, and :func:`mkdtemp`, which should
|
:func:`NamedTemporaryFile`, :func:`mkstemp`, and :func:`mkdtemp`, which should
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
single: Benchmarking
|
single: Benchmarking
|
||||||
single: Performance
|
single: Performance
|
||||||
|
|
||||||
|
**Source code:** :source:`Lib/timeit.py`
|
||||||
|
|
||||||
|
--------------
|
||||||
|
|
||||||
This module provides a simple way to time small bits of Python code. It has both
|
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
|
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
|
for measuring execution times. See also Tim Peters' introduction to the
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
:synopsis: Constants representing terminal nodes of the parse tree.
|
:synopsis: Constants representing terminal nodes of the parse tree.
|
||||||
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
|
.. 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
|
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`
|
of the parse tree (terminal tokens). Refer to the file :file:`Grammar/Grammar`
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
.. module:: types
|
.. module:: types
|
||||||
:synopsis: Names for built-in 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
|
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
|
Python interpreter, but not exposed as builtins like :class:`int` or
|
||||||
|
|
Loading…
Reference in New Issue