[Python-Dev] Pretty-printing 2to3 Nodes

"Martin v. Löwis" martin at v.loewis.de
Thu Mar 20 12:38:46 CET 2008


> OR just names:
> Node(import_name, [Leaf(1, 'import'), Node(dotted_as_name, [Node 
> (dotted_name, [Leaf(1, 'foo'), Leaf(23, '.'), Leaf(1, 'bar')]), Leaf 
> (1, 'as'), Leaf(1, 'bang')])])

This is the one I prefer.

Regards,
Martin



More information about the Python-Dev mailing list