mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Import exceptions from errors.py, not ccompiler.py.
This commit is contained in:
parent
39804cbc60
commit
3add77f611
2 changed files with 7 additions and 7 deletions
|
@ -12,11 +12,11 @@ __revision__ = "$Id$"
|
|||
|
||||
import sys, os, string
|
||||
from types import *
|
||||
from distutils.errors import *
|
||||
from distutils.ccompiler import \
|
||||
CCompiler, gen_preprocess_options, gen_lib_options, \
|
||||
from distutils.errors import \
|
||||
DistutilsExecError, DistutilsPlatformError, \
|
||||
CompileError, LibError, LinkError
|
||||
|
||||
from distutils.ccompiler import \
|
||||
CCompiler, gen_preprocess_options, gen_lib_options
|
||||
|
||||
_can_read_reg = 0
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue