
May 1, 2011
3:44 p.m.
2011/5/1 anatoly techtonik <techtonik@gmail.com>:
Is there any high-level overview of 2to3 tool that people can use as a quick start for writing their own fixers?
No.
Source doesn't explain much (to me at least), and some kind of "learn by example" would really help a lot. In particular, I find the syntax of tree matchers the most unclear part.
I think you can learn a lot by reading through the current fixers in lib2to3/fixers/. -- Regards, Benjamin