@@ -93,8 +93,7 @@ class CygwinCCompiler(UnixCCompiler):
9393 exe_extension = ".exe"
9494
9595 def __init__ (self , verbose = 0 , dry_run = False , force = False ):
96-
97- UnixCCompiler .__init__ (self , verbose , dry_run , force )
96+ super (CygwinCCompiler , self ).__init__ (verbose , dry_run , force )
9897
9998 status , details = check_config_h ()
10099 logger .debug ("Python's GCC status: %s (details: %s)" , status , details )
@@ -255,14 +254,14 @@ def object_filenames(self, source_filenames, strip_dir=False,
255254 if ext not in (self .src_extensions + ['.rc' ,'.res' ]):
256255 raise UnknownFileError ("unknown file type '%s' (from '%s')" % (ext , src_name ))
257256 if strip_dir :
258- base = os .path .basename (base )
257+ base = os .path .basename (base )
259258 if ext in ('.res' , '.rc' ):
260259 # these need to be compiled to object files
261- obj_names .append (os .path .join (output_dir ,
260+ obj_names .append (os .path .join (output_dir ,
262261 base + ext + self .obj_extension ))
263262 else :
264- obj_names .append (os .path .join (output_dir ,
265- base + self .obj_extension ))
263+ obj_names .append (os .path .join (output_dir ,
264+ base + self .obj_extension ))
266265 return obj_names
267266
268267# the same as cygwin plus some additional parameters
@@ -273,8 +272,7 @@ class Mingw32CCompiler(CygwinCCompiler):
273272 description = 'MinGW32 compiler'
274273
275274 def __init__ (self , verbose = 0 , dry_run = False , force = False ):
276-
277- CygwinCCompiler .__init__ (self , verbose , dry_run , force )
275+ super (Mingw32CCompiler , self ).__init__ (verbose , dry_run , force )
278276
279277 # ld_version >= "2.13" support -shared so use it instead of
280278 # -mdll -static
0 commit comments