Kaydet (Commit) f8ca7d88 authored tarafından Fred Drake's avatar Fred Drake

Fixed lots of small nits caught by Ka-Ping Yee <ping@lfw.org>.

üst 2d34cd3e
\section{\module{cmd} --- \section{\module{cmd} ---
Build line-oriented command interpreters.} Support for line-oriented command interpreters}
\declaremodule{standard}{cmd} \declaremodule{standard}{cmd}
\sectionauthor{Eric S. Raymond}{esr@snark.thyrsus.com} \sectionauthor{Eric S. Raymond}{esr@snark.thyrsus.com}
\modulesynopsis{Build line-oriented command interpreters.}
\modulesynopsis{Build line-oriented command interpreters; this is used
by module \module{pdb}.}
The \class{Cmd} class provides a simple framework for writing The \class{Cmd} class provides a simple framework for writing
......
\section{\module{curses} --- \section{\module{curses} ---
Screen painting and input handling for character-cell terminals} Terminal handling for character-cell displays}
\declaremodule{standard}{curses} \declaremodule{standard}{curses}
\sectionauthor{Moshe Zadka}{mzadka@geocities.com} \sectionauthor{Moshe Zadka}{mzadka@geocities.com}
\sectionauthor{Eric Raymond}{esr@thyrsus.com} \sectionauthor{Eric Raymond}{esr@thyrsus.com}
\modulesynopsis{An interface to the curses library.} \modulesynopsis{An interface to the curses library, providing portable
terminal handling.}
\versionchanged[Added support for the \code{ncurses} library and \versionchanged[Added support for the \code{ncurses} library and
converted to a package]{1.6} converted to a package]{1.6}
......
\section{\module{dis} --- \section{\module{dis} ---
Disassembler.} Disassembler for Python byte code}
\declaremodule{standard}{dis}
\modulesynopsis{Disassembler.} \declaremodule{standard}{dis}
\modulesynopsis{Disassembler for Python byte code, as stored in code
objects and \file{.pyc}/\file{.pyo} files.}
The \module{dis} module supports the analysis of Python byte code by The \module{dis} module supports the analysis of Python byte code by
......
\section{\module{errno} --- \section{\module{errno} ---
Standard errno system symbols.} Standard errno system symbols}
\declaremodule{standard}{errno}
\declaremodule{standard}{errno}
\modulesynopsis{Standard errno system symbols.} \modulesynopsis{Standard errno system symbols.}
This module makes available standard \code{errno} system symbols.
This module makes available standard errno system symbols.
The value of each symbol is the corresponding integer value. The value of each symbol is the corresponding integer value.
The names and descriptions are borrowed from \file{linux/include/errno.h}, The names and descriptions are borrowed from \file{linux/include/errno.h},
which should be pretty all-inclusive. which should be pretty all-inclusive.
...@@ -21,8 +20,9 @@ To translate a numeric error code to an error message, use ...@@ -21,8 +20,9 @@ To translate a numeric error code to an error message, use
\function{os.strerror()}. \function{os.strerror()}.
Of the following list, symbols that are not used on the current Of the following list, symbols that are not used on the current
platform are not defined by the module. Symbols available can platform are not defined by the module. The specific list of defined
include: symbols is available as \code{errno.errorcode.keys()}. Symbols
available can include:
\begin{datadesc}{EPERM} Operation not permitted \end{datadesc} \begin{datadesc}{EPERM} Operation not permitted \end{datadesc}
\begin{datadesc}{ENOENT} No such file or directory \end{datadesc} \begin{datadesc}{ENOENT} No such file or directory \end{datadesc}
......
\section{\module{getopt} --- \section{\module{getopt} ---
Parser for command line options.} Parser for command line options}
\declaremodule{standard}{getopt}
\modulesynopsis{Parser for command line options.} \declaremodule{standard}{getopt}
\modulesynopsis{Portable parser for command line options; support both
short and long option names.}
This module helps scripts to parse the command line arguments in This module helps scripts to parse the command line arguments in
......
\section{\module{imghdr} --- \section{\module{imghdr} ---
Determine the type of an image.} Determine the type of an image}
\declaremodule{standard}{imghdr}
\modulesynopsis{Determine the type of image contained in a file or byte stream.} \declaremodule{standard}{imghdr}
\modulesynopsis{Determine the type of image contained in a file or
byte stream.}
The \module{imghdr} module determines the type of image contained in a The \module{imghdr} module determines the type of image contained in a
......
\section{\module{new} --- \section{\module{new} ---
Runtime implementation object creation} Creation of runtime internal objects}
\declaremodule{builtin}{new} \declaremodule{builtin}{new}
\sectionauthor{Moshe Zadka}{mzadka@geocities.com} \sectionauthor{Moshe Zadka}{mzadka@geocities.com}
......
\section{\module{pprint} --- \section{\module{pprint} ---
Data pretty printer.} Data pretty printer}
\declaremodule{standard}{pprint} \declaremodule{standard}{pprint}
\modulesynopsis{Data pretty printer.} \modulesynopsis{Data pretty printer.}
......
\section{\module{Queue} --- \section{\module{Queue} ---
A synchronized queue class.} A synchronized queue class}
\declaremodule{standard}{Queue}
\declaremodule{standard}{Queue}
\modulesynopsis{A synchronized queue class.} \modulesynopsis{A synchronized queue class.}
The \module{Queue} module implements a multi-producer, multi-consumer The \module{Queue} module implements a multi-producer, multi-consumer
FIFO queue. It is especially useful in threads programming when FIFO queue. It is especially useful in threads programming when
information must be exchanged safely between multiple threads. The information must be exchanged safely between multiple threads. The
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
\declaremodule{builtin}{readline} \declaremodule{builtin}{readline}
\platform{Unix} \platform{Unix}
\sectionauthor{Skip Montanaro}{skip@mojam.com} \sectionauthor{Skip Montanaro}{skip@mojam.com}
\modulesynopsis{GNU Readline in Python.} \modulesynopsis{GNU readline support for Python.}
The \module{readline} module defines a number of functions used either The \module{readline} module defines a number of functions used either
......
\section{\module{repr} --- \section{\module{repr} ---
Alternate \function{repr()} implementation.} Alternate \function{repr()} implementation}
\sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org} \sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org}
\declaremodule{standard}{repr} \declaremodule{standard}{repr}
......
\section{\module{rlcompleter} --- \section{\module{rlcompleter} ---
Completion function for readline} Completion function for GNU readline}
\declaremodule{standard}{rlcompleter} \declaremodule{standard}{rlcompleter}
\platform{Unix} \platform{Unix}
\sectionauthor{Moshe Zadka}{mzadka@geocities.com} \sectionauthor{Moshe Zadka}{mzadka@geocities.com}
\modulesynopsis{Python identifier completion in the readline library.} \modulesynopsis{Python identifier completion for the GNU readline library.}
The \module{rlcompleter} module defines a completion function for The \module{rlcompleter} module defines a completion function for
the \refmodule{readline} module by completing valid Python identifiers the \refmodule{readline} module by completing valid Python identifiers
......
\section{\module{rotor} --- \section{\module{rotor} ---
Enigma-like encryption and decryption.} Enigma-like encryption and decryption}
\declaremodule{builtin}{rotor}
\declaremodule{builtin}{rotor}
\modulesynopsis{Enigma-like encryption and decryption.} \modulesynopsis{Enigma-like encryption and decryption.}
......
\section{\module{signal} --- \section{\module{signal} ---
Set handlers for asynchronous events.} Set handlers for asynchronous events}
\declaremodule{builtin}{signal}
\declaremodule{builtin}{signal}
\modulesynopsis{Set handlers for asynchronous events.} \modulesynopsis{Set handlers for asynchronous events.}
This module provides mechanisms to use signal handlers in Python. This module provides mechanisms to use signal handlers in Python.
Some general rules for working with signals and their handlers: Some general rules for working with signals and their handlers:
......
\section{\module{sndhdr} --- \section{\module{sndhdr} ---
Determine type of sound file.} Determine type of sound file}
\declaremodule{standard}{sndhdr} \declaremodule{standard}{sndhdr}
\modulesynopsis{Determine type of a sound file.} \modulesynopsis{Determine type of a sound file.}
......
\section{\module{SocketServer} --- \section{\module{SocketServer} ---
A framework for network servers.} A framework for network servers}
\declaremodule{standard}{SocketServer}
\declaremodule{standard}{SocketServer}
\modulesynopsis{A framework for network servers.} \modulesynopsis{A framework for network servers.}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment