]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Ok, compiler.transformer can really be imported now
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 24 Mar 2006 07:07:34 +0000 (07:07 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 24 Mar 2006 07:07:34 +0000 (07:07 +0000)
Lib/compiler/__init__.py
Lib/compiler/ast.py
Lib/compiler/transformer.py

index 3dc62f0e56c0a2346c4d146af96ca0b52e0eebcd..ce89144b73358eced1c79754fb5f490421cab763 100644 (file)
@@ -21,6 +21,6 @@ compileFile(filename)
     Generates a .pyc file by compiling filename.
 """
 
-from .transformer import parse, parseFile
-from .visitor import walk
-from .pycodegen import compile, compileFile
+from compiler.transformer import parse, parseFile
+from compiler.visitor import walk
+from compiler.pycodegen import compile, compileFile
index 08e0c6a4460cb6501131aff1213f064ef37b2840..8dcdf68ada373c716e10aa8f4185831050e4cff5 100644 (file)
@@ -2,7 +2,7 @@
 
 This file is automatically generated by Tools/compiler/astgen.py
 """
-from consts import CO_VARARGS, CO_VARKEYWORDS
+from compiler.consts import CO_VARARGS, CO_VARKEYWORDS
 
 def flatten(seq):
     l = []
index 504e283b0ae3f818a4d4a8a477ca5bba1f49f369..604c57adfdabed9ea2298cd1e24ef77fa6a7129d 100644 (file)
@@ -34,8 +34,8 @@ import sys
 class WalkerError(StandardError):
     pass
 
-from consts import CO_VARARGS, CO_VARKEYWORDS
-from consts import OP_ASSIGN, OP_DELETE, OP_APPLY
+from compiler.consts import CO_VARARGS, CO_VARKEYWORDS
+from compiler.consts import OP_ASSIGN, OP_DELETE, OP_APPLY
 
 def parseFile(path):
     f = open(path, "U")