mirror of https://github.com/python/cpython
Use relative imports in compiler package now that it is required. (Should this go into 2.5 or should we do compiler.XXX?)
This commit is contained in:
parent
a0bc30f36f
commit
abdbeff36e
|
@ -21,6 +21,6 @@ compileFile(filename)
|
||||||
Generates a .pyc file by compiling filename.
|
Generates a .pyc file by compiling filename.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from transformer import parse, parseFile
|
from .transformer import parse, parseFile
|
||||||
from visitor import walk
|
from .visitor import walk
|
||||||
from pycodegen import compile, compileFile
|
from .pycodegen import compile, compileFile
|
||||||
|
|
Loading…
Reference in New Issue