Commit 0e3438c0 authored by Fred Drake's avatar Fred Drake

Updated the section "Parsing Python".

parent f283366c
...@@ -77,24 +77,13 @@ ihooks.py -- Import hook support (for ni and rexec) ...@@ -77,24 +77,13 @@ ihooks.py -- Import hook support (for ni and rexec)
\section{Parsing Python} \section{Parsing Python}
(One could argue that these should all be documented together with the (One could argue that these should all be documented together with the
parser module; in fact the parser module section already references parser module.)
the token and symbol modules.)
token.py -- Tokens (from ``token.h'')
symbol.py -- Symbols (from ``graminit.h'')
keyword.py -- Keywords (from ``graminit.c'')
tokenize.py -- regular expression that recognizes Python tokens; also tokenize.py -- regular expression that recognizes Python tokens; also
contains helper code for colorizing Python source code. contains helper code for colorizing Python source code.
pyclbr.py -- Parse a Python file and retrieve classes and methods pyclbr.py -- Parse a Python file and retrieve classes and methods
code.py -- Deal with Python code objects: code.compile_command() can
determine whether an interactively entered command is complete or not,
distinguishing incomplete from invalid input.
\section{Platform specific modules} \section{Platform specific modules}
......
...@@ -77,24 +77,13 @@ ihooks.py -- Import hook support (for ni and rexec) ...@@ -77,24 +77,13 @@ ihooks.py -- Import hook support (for ni and rexec)
\section{Parsing Python} \section{Parsing Python}
(One could argue that these should all be documented together with the (One could argue that these should all be documented together with the
parser module; in fact the parser module section already references parser module.)
the token and symbol modules.)
token.py -- Tokens (from ``token.h'')
symbol.py -- Symbols (from ``graminit.h'')
keyword.py -- Keywords (from ``graminit.c'')
tokenize.py -- regular expression that recognizes Python tokens; also tokenize.py -- regular expression that recognizes Python tokens; also
contains helper code for colorizing Python source code. contains helper code for colorizing Python source code.
pyclbr.py -- Parse a Python file and retrieve classes and methods pyclbr.py -- Parse a Python file and retrieve classes and methods
code.py -- Deal with Python code objects: code.compile_command() can
determine whether an interactively entered command is complete or not,
distinguishing incomplete from invalid input.
\section{Platform specific modules} \section{Platform specific modules}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment