diff Doc/lib/libparser.tex @ 7712:0cbc9df882b6 legacy-trunk

Change "\," to just "," in function signatures. This is easier to maintain, works better with LaTeX2HTML, and allows some simplification of the python.sty macros.
author Fred Drake <fdrake@acm.org>
date Tue, 17 Mar 1998 06:33:25 +0000
parents 00ad309bd508
children e580afa1c833
line wrap: on
line diff
--- a/Doc/lib/libparser.tex	Tue Mar 17 06:29:13 1998 +0000
+++ b/Doc/lib/libparser.tex	Tue Mar 17 06:33:25 1998 +0000
@@ -153,7 +153,7 @@
 be compiled into executable code objects.  Parse trees may be
 extracted with or without line numbering information.
 
-\begin{funcdesc}{ast2list}{ast\optional{\, line_info\code{ = 0}}}
+\begin{funcdesc}{ast2list}{ast\optional{, line_info\code{ = 0}}}
 This function accepts an AST object from the caller in
 \code{\var{ast}} and returns a Python list representing the
 equivelent parse tree.  The resulting list representation can be used
@@ -172,7 +172,7 @@
 omitted if the flag is false or omitted.
 \end{funcdesc}
 
-\begin{funcdesc}{ast2tuple}{ast\optional{\, line_info\code{ = 0}}}
+\begin{funcdesc}{ast2tuple}{ast\optional{, line_info\code{ = 0}}}
 This function accepts an AST object from the caller in
 \code{\var{ast}} and returns a Python tuple representing the
 equivelent parse tree.  Other than returning a tuple instead of a
@@ -184,7 +184,7 @@
 false or omitted.
 \end{funcdesc}
 
-\begin{funcdesc}{compileast}{ast\optional{\, filename\code{ = '<ast>'}}}
+\begin{funcdesc}{compileast}{ast\optional{, filename\code{ = '<ast>'}}}
 The Python byte compiler can be invoked on an AST object to produce
 code objects which can be used as part of an \code{exec} statement or
 a call to the built-in \function{eval()}\bifuncindex{eval} function.