]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added module references; minor grammatical fixes.
authorFred Drake <fdrake@acm.org>
Tue, 11 May 1999 15:14:15 +0000 (15:14 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 11 May 1999 15:14:15 +0000 (15:14 +0000)
All suggested by Eric Raymond.

Doc/lib/libcfgparser.tex
Doc/lib/libftplib.tex
Doc/lib/libshlex.tex

index b203168dde771232265a4608cb8e7ff821a4f646..4ebc9a42075300c4fe6099a6504c3ba940a6427c 100644 (file)
@@ -39,7 +39,7 @@ Return a new instance of the \class{ConfigParser} class.  When
 \var{defaults} is given, it is initialized into the dictionairy of
 intrinsic defaults.  They keys must be strings, and the values must be 
 appropriate for the \samp{\%()s} string interpolation.  Note that
-\var{__name__} is always an intrinsic default; it's value is the 
+\var{__name__} is always an intrinsic default; its value is the 
 section name.
 \end{classdesc}
 
@@ -70,6 +70,12 @@ Exception raised when errors occur attempting to parse a file.
 \end{excdesc}
 
 
+\begin{seealso}
+  \seemodule{shlex}{Support for a creating \UNIX{} shell-like
+                    minilanguages which can be used as an alternate format
+                    for application configuration files.}
+\end{seealso}
+
 \subsection{ConfigParser Objects \label{ConfigParser-objects}}
 
 \class{ConfigParser} instances have the following methods:
index 5ef9e7eb6391f7c19c874d5e4faa56697cc1be75..4014052f7a50bc35bdbdc7ce6adead4164a3cd09 100644 (file)
@@ -70,6 +70,10 @@ not begin with a digit in the range 1--5.
 
 
 \begin{seealso}
+  \seemodule{netrc}{Parser for the \file{.netrc} file format.  The file
+                    \file{.netrc} is typically used by FTP clients to
+                    load user authentication information before prompting
+                    the user.}
   \seetext{The file \file{Tools/scripts/ftpmirror.py}\index{ftpmirror.py}
            in the Python source distribution is a script that can mirror
            FTP sites, or portions thereof, using the \module{ftplib} module.
index 326edcd4ad8c6318b9c0469a1d9334ce9af20786..f33fa2a0a8d15035e1053dbd81a83f1dd1f8a751 100644 (file)
@@ -1,7 +1,7 @@
 % Module and documentation by Eric S. Raymond, 21 Dec 1998 
 
 \section{\module{shlex} ---
-         Simple lexical analysis.}
+         Simple lexical analysis}
 
 \declaremodule{standard}{shlex}
 \modulesynopsis{Simple lexical analysis for \UNIX{} shell-like languages.}
@@ -21,9 +21,15 @@ object.  The initialization argument, if present, specifies where to
 read characters from. It must be a file- or stream-like object with
 \method{read()} and \method{readline()} methods.  If no argument is given,
 input will be taken from \code{sys.stdin}.
-
 \end{classdesc}
 
+
+\begin{seealso}
+  \seemodule{ConfigParser}{Parser for configuration files similar to the
+                           Windows \file{.ini} files.}
+\end{seealso}
+
+
 \subsection{shlex Objects \label{shlex-objects}}
 
 A \class{shlex} instance has the following methods:
@@ -64,7 +70,7 @@ carriage-return.
 \begin{memberdesc}{quotes}
 Characters that will be considered string quotes.  The token
 accumulates until the same quote is encountered again (thus, different
-quote types protect each other as in the shall.)  By default, includes
+quote types protect each other as in the shell.)  By default, includes
 \ASCII{} single and double quotes.
 \end{memberdesc}