mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
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:
parent
903d846a69
commit
87de069e4e
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue