AST Objects -- Python library reference



Prev: Example Up: parser Top: Top

3.9.3. AST Objects

AST objects (returned by expr(), suite(), and tuple2ast(), described above) have no methods of their own. Some of the functions defined which accept an AST object as their first argument may change to object methods in the future.

Ordered and equality comparisons are supported between AST objects.



Prev: Example Up: parser Top: Top