Instead of relative imports, use (implicitly) absolute ones.

This commit is contained in:
Guido van Rossum 2006-03-15 23:08:13 +00:00
parent 067db48997
commit f8480a7856
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import re
import string import string
import sys import sys
from .errors import DistutilsPlatformError from distutils.errors import DistutilsPlatformError
# These are needed in a couple of spots, so just compute them once. # These are needed in a couple of spots, so just compute them once.
PREFIX = os.path.normpath(sys.prefix) PREFIX = os.path.normpath(sys.prefix)

View File

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