mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
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.
|
||||
"""
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user