On Thu, Feb 20, 2014 at 2:04 AM, Mark Lawrence <breamore...@yahoo.co.uk> wrote:
>> but what I'd really like to do is get something that looks
>> approximately like "x[1]".
>
> http://alexleone.blogspot.co.uk/2010/01/python-ast-pretty-printer.html ?

That's still based on ast.dump(), so it's still highly verbose. I've
stuck with just dumping to screen for the present. This really does
seem like a useful feature addition, though, if anyone wants to push
it through.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to