Skip to content
Browse files


  • Loading branch information...
1 parent 31b8c91 commit 22605d9e810fcfbf804ed013e7fa0996cf3ead1f @bdarnell committed
Showing with 28 additions and 0 deletions.
  1. +28 −0
@@ -0,0 +1,28 @@
+`auto2to3` is a wrapper to run `2to3` automatically at import time. This is
+useful when developing a library that intends to support both Python 2 and
+Python 3 via `2to3`.
+` --package=pkg main_module`
+main_module is run as if by the -m flag to the python interpreter
+(i.e. __name__ == '__main__'). All modules whose name begins with a name
+passed to the --package flag (which may be specified more than once)
+will be run through 2to3. 2to3 output is cached on disk between runs
+for speed.
+` --package=tornado tornado.test.runtests`
+Based on by Georg Brandl:

0 comments on commit 22605d9

Please sign in to comment.
Something went wrong with that request. Please try again.