mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
Use relative imports in a few places where I noticed the need.
(Ideally, all packages in Python 2.5 will use the relative import syntax for all their relative import needs.)
This commit is contained in:
parent
903d846a69
commit
87de069e4e
2 changed files with 3 additions and 2 deletions
|
|
@ -16,7 +16,7 @@
|
|||
import string
|
||||
import sys
|
||||
|
||||
from errors import DistutilsPlatformError
|
||||
from .errors import DistutilsPlatformError
|
||||
|
||||
# These are needed in a couple of spots, so just compute them once.
|
||||
PREFIX = os.path.normpath(sys.prefix)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,8 @@
|
|||
|
||||
"""#"
|
||||
|
||||
import codecs, types, aliases
|
||||
import codecs, types
|
||||
from . import aliases
|
||||
|
||||
_cache = {}
|
||||
_unknown = '--unknown--'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue