Skip to content

Instantly share code, notes, and snippets.

@ndnichols
ndnichols / codegen.py
Created November 10, 2011 23:13 — forked from mattbasta/codegen.py
A module to "unparse" a Python AST tree.
# -*- coding: utf-8 -*-
"""
codegen
~~~~~~~
Extension to ast that allow ast -> python code generation.
:copyright: Copyright 2008 by Armin Ronacher.
:license: BSD.
"""