Idea for pure-python templates using AST.

Chris Angelico rosuav at gmail.com
Tue Aug 16 20:03:34 EDT 2011


On Wed, Aug 17, 2011 at 12:57 AM, Paul Wray <paulwray111111 at gmail.com> wrote:
> Thanks yes ama aware of docstrings but did not consider.
> They are easy to strip out though.
>

Maybe. You'd have to take notice of what's a docstring and what's the
first element to be outputted. Or alternatively, just forbid
docstrings on those functions.

ChrisA



More information about the Python-list mailing list