summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libshlex.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-05-11 15:14:15 (GMT)
committerFred Drake <fdrake@acm.org>1999-05-11 15:14:15 (GMT)
commit184e8360e80ca9d536e28dcf14cd219eebf72bd1 (patch)
tree7703471ec0330e3636cf967d2f7e34826153e0a2 /Doc/lib/libshlex.tex
parent9ade7e01109bc4240d497163cd59c9aa14f725cb (diff)
downloadcpython-184e8360e80ca9d536e28dcf14cd219eebf72bd1.zip
cpython-184e8360e80ca9d536e28dcf14cd219eebf72bd1.tar.gz
cpython-184e8360e80ca9d536e28dcf14cd219eebf72bd1.tar.bz2
Added module references; minor grammatical fixes.
All suggested by Eric Raymond.
Diffstat (limited to 'Doc/lib/libshlex.tex')
-rw-r--r--Doc/lib/libshlex.tex12
1 files changed, 9 insertions, 3 deletions
diff --git a/Doc/lib/libshlex.tex b/Doc/lib/libshlex.tex
index 326edcd..f33fa2a 100644
--- a/Doc/lib/libshlex.tex
+++ b/Doc/lib/libshlex.tex
@@ -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}