1010%
1111
1212\section {Built-in Module \sectcode {parser} }
13+ \label {module-parser }
1314\bimodindex {parser}
1415
1516The \code {parser} module provides an interface to Python's internal
@@ -609,9 +610,9 @@ \subsubsection{Information Discovery}
609610the code block is on the same line as the definition of the code
610611block, as in
611612
612- \bcode \ begin {verbatim }
613+ \begin {verbatim }
613614def square(x): "Square an argument."; return x ** 2
614- \end {verbatim }\ecode
615+ \end {verbatim }
615616%
616617while the long form uses an indented block and allows nested
617618definitions:
@@ -674,8 +675,20 @@ \subsubsection{Information Discovery}
674675of this example, the code may be extended at clearly defined points to
675676provide additional capabilities.
676677
678+ \begin {seealso }
679+
680+ \seemodule {symbol}%
681+ {useful constants representing internal nodes of the parse tree}
682+
683+ \seemodule {token}%
684+ {useful constants representing leaf nodes of the parse tree and
685+ functions for testing node values}
686+
687+ \end {seealso }
688+
677689
678690\section {Standard Module \sectcode {symbol} }
691+ \label {module-symbol }
679692\stmodindex {symbol}
680693
681694This module provides constants which represent the numeric values of
@@ -696,8 +709,13 @@ \section{Standard Module \sectcode{symbol}}
696709representation of parse trees to be generated.
697710\end {datadesc }
698711
712+ \begin {seealso }
713+ \seemodule {parser}{second example uses this module}
714+ \end {seealso }
715+
699716
700717\section {Standard Module \sectcode {token} }
718+ \label {module-token }
701719\stmodindex {token}
702720
703721This module provides constants which represent the numeric values of
@@ -731,5 +749,6 @@ \section{Standard Module \sectcode{token}}
731749Return true if \var {x} is the marker indicating the end of input.
732750\end {funcdesc }
733751
734- % %
735- % % end of file
752+ \begin {seealso }
753+ \seemodule {parser}{second example uses this module}
754+ \end {seealso }
0 commit comments