mirror of
https://github.com/python/cpython.git
synced 2025-12-08 02:08:20 +00:00
Instead of relative imports, use (implicitly) absolute ones.
This commit is contained in:
parent
067db48997
commit
f8480a7856
2 changed files with 2 additions and 2 deletions
|
|
@ -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).
|
||||||
"""#"
|
"""#"
|
||||||
|
|
||||||
import codecs, types
|
import codecs, types
|
||||||
from . import aliases
|
from encodings import aliases
|
||||||
|
|
||||||
_cache = {}
|
_cache = {}
|
||||||
_unknown = '--unknown--'
|
_unknown = '--unknown--'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue