> An example module for the NodeVisitor is in the repository which > converts a Python AST back into Python source code: > > http://dev.pocoo.org/hg/sandbox/file/tip/ast/codegen.py
And another example for the same functionality is in Demo/parser/unparse.py. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com