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:
Guido van Rossum 2006-03-15 04:33:54 +00:00
parent 903d846a69
commit 87de069e4e
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import re
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)

View File

@ -27,7 +27,8 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
"""#"
import codecs, types, aliases
import codecs, types
from . import aliases
_cache = {}
_unknown = '--unknown--'