Yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/AST Examples.html

Revision as of 19:40, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<div class="navigation"> {| width="100%" cellspacing="2" align="center" | yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/AST Objects.html|[[Image:yurttas_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


17.1.6 Examples

The parser modules allows operations to be performed on the parse tree of Python source code before the bytecode is generated, and provides for inspection of the parse tree for information gathering purposes. Two examples are presented. The simple example demonstrates emulation of the compile() built-in function and the complex example shows the use of a parse tree for information discovery.


Subsections


See About this document... for information on suggesting changes.