Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bbe6068d
Commit
bbe6068d
authored
Jan 09, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added \label{} to allow module references.
Added some seealso sections.
parent
aa5dba02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
8 deletions
+46
-8
Doc/lib/libparser.tex
Doc/lib/libparser.tex
+23
-4
Doc/libparser.tex
Doc/libparser.tex
+23
-4
No files found.
Doc/lib/libparser.tex
View file @
bbe6068d
...
...
@@ -10,6 +10,7 @@
%
\section
{
Built-in Module
\sectcode
{
parser
}}
\label
{
module-parser
}
\bimodindex
{
parser
}
The
\code
{
parser
}
module provides an interface to Python's internal
...
...
@@ -609,9 +610,9 @@ the ``short form'' or the ``long form.'' The short form is used when
the code block is on the same line as the definition of the code
block, as in
\b
code
\b
egin{verbatim}
\begin{verbatim}
def square(x): "Square an argument."; return x ** 2
\end{verbatim}
\ecode
\end{verbatim}
%
while the long form uses an indented block and allows nested
definitions:
...
...
@@ -674,8 +675,20 @@ module. If information is required which is not extracted by the code
of this example, the code may be extended at clearly defined points to
provide additional capabilities.
\begin{seealso}
\seemodule
{
symbol
}
%
{
useful constants representing internal nodes of the parse tree
}
\seemodule
{
token
}
%
{
useful constants representing leaf nodes of the parse tree and
functions for testing node values
}
\end{seealso}
\section
{
Standard Module
\sectcode
{
symbol
}}
\label
{
module-symbol
}
\stmodindex
{
symbol
}
This module provides constants which represent the numeric values of
...
...
@@ -696,8 +709,13 @@ module back to name strings, allowing more human-readable
representation of parse trees to be generated.
\end{datadesc}
\begin{seealso}
\seemodule
{
parser
}{
second example uses this module
}
\end{seealso}
\section
{
Standard Module
\sectcode
{
token
}}
\label
{
module-token
}
\stmodindex
{
token
}
This module provides constants which represent the numeric values of
...
...
@@ -731,5 +749,6 @@ Return true for non-terminal token values.
Return true if
\var
{
x
}
is the marker indicating the end of input.
\end{funcdesc}
%%
%% end of file
\begin{seealso}
\seemodule
{
parser
}{
second example uses this module
}
\end{seealso}
Doc/libparser.tex
View file @
bbe6068d
...
...
@@ -10,6 +10,7 @@
%
\section
{
Built-in Module
\sectcode
{
parser
}}
\label
{
module-parser
}
\bimodindex
{
parser
}
The
\code
{
parser
}
module provides an interface to Python's internal
...
...
@@ -609,9 +610,9 @@ the ``short form'' or the ``long form.'' The short form is used when
the code block is on the same line as the definition of the code
block, as in
\b
code
\b
egin{verbatim}
\begin{verbatim}
def square(x): "Square an argument."; return x ** 2
\end{verbatim}
\ecode
\end{verbatim}
%
while the long form uses an indented block and allows nested
definitions:
...
...
@@ -674,8 +675,20 @@ module. If information is required which is not extracted by the code
of this example, the code may be extended at clearly defined points to
provide additional capabilities.
\begin{seealso}
\seemodule
{
symbol
}
%
{
useful constants representing internal nodes of the parse tree
}
\seemodule
{
token
}
%
{
useful constants representing leaf nodes of the parse tree and
functions for testing node values
}
\end{seealso}
\section
{
Standard Module
\sectcode
{
symbol
}}
\label
{
module-symbol
}
\stmodindex
{
symbol
}
This module provides constants which represent the numeric values of
...
...
@@ -696,8 +709,13 @@ module back to name strings, allowing more human-readable
representation of parse trees to be generated.
\end{datadesc}
\begin{seealso}
\seemodule
{
parser
}{
second example uses this module
}
\end{seealso}
\section
{
Standard Module
\sectcode
{
token
}}
\label
{
module-token
}
\stmodindex
{
token
}
This module provides constants which represent the numeric values of
...
...
@@ -731,5 +749,6 @@ Return true for non-terminal token values.
Return true if
\var
{
x
}
is the marker indicating the end of input.
\end{funcdesc}
%%
%% end of file
\begin{seealso}
\seemodule
{
parser
}{
second example uses this module
}
\end{seealso}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment