summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-24 06:57:41 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-24 06:57:41 (GMT)
commitabdbeff36eabfe2e8a1978f014a9d6e7c6f51260 (patch)
treed2b2498fbb19fcd3eb33eabdf46ddf2f8fd5262a
parenta0bc30f36fbcf010420f902612b62f65c0105d09 (diff)
downloadcpython-abdbeff36eabfe2e8a1978f014a9d6e7c6f51260.zip
cpython-abdbeff36eabfe2e8a1978f014a9d6e7c6f51260.tar.gz
cpython-abdbeff36eabfe2e8a1978f014a9d6e7c6f51260.tar.bz2
Use relative imports in compiler package now that it is required. (Should this go into 2.5 or should we do compiler.XXX?)
-rw-r--r--Lib/compiler/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/compiler/__init__.py b/Lib/compiler/__init__.py
index 13b05bf..3dc62f0 100644
--- a/Lib/compiler/__init__.py
+++ b/Lib/compiler/__init__.py
@@ -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 .transformer import parse, parseFile
+from .visitor import walk
+from .pycodegen import compile, compileFile