summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/distutils/sysconfig.py2
-rw-r--r--Lib/encodings/__init__.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index 9bdbb16..dc603be 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -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)
diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py
index 01463bc..ddaacb9 100644
--- a/Lib/encodings/__init__.py
+++ b/Lib/encodings/__init__.py
@@ -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--'