Commit f8480a78 authored by Guido van Rossum's avatar Guido van Rossum

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

parent 067db489
...@@ -16,7 +16,7 @@ import re ...@@ -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)
......
...@@ -29,7 +29,7 @@ Written by Marc-Andre Lemburg (mal@lemburg.com). ...@@ -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--'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment