Commit 87de069e authored by Guido van Rossum's avatar Guido van Rossum

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.)
parent 903d846a
......@@ -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)
......
......@@ -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--'
......
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