[Python-Dev] 2to3 status, repositories and HACKING guide
Benjamin Peterson
benjamin at python.org
Sun May 1 17:44:10 CEST 2011
2011/5/1 anatoly techtonik <techtonik at 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
More information about the Python-Dev
mailing list