[Python-checkins] python/dist/src/Lib/distutils unixccompiler.py,1.41,1.42
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Thu, 13 Jun 2002 07:58:34 -0700
Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv18219
Modified Files:
unixccompiler.py
Log Message:
Python style conformance: Delete spaces between name of function and arglist.
Making the world better a little bit at a time <wink>.
Index: unixccompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/unixccompiler.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** unixccompiler.py 4 Jun 2002 20:18:24 -0000 1.41
--- unixccompiler.py 13 Jun 2002 14:58:30 -0000 1.42
***************
*** 82,99 ****
! def __init__ (self,
! verbose=0,
! dry_run=0,
! force=0):
CCompiler.__init__ (self, verbose, dry_run, force)
! def preprocess (self,
! source,
! output_file=None,
! macros=None,
! include_dirs=None,
! extra_preargs=None,
! extra_postargs=None):
(_, macros, include_dirs) = \
--- 82,99 ----
! def __init__(self,
! verbose=0,
! dry_run=0,
! force=0):
CCompiler.__init__ (self, verbose, dry_run, force)
! def preprocess(self,
! source,
! output_file=None,
! macros=None,
! include_dirs=None,
! extra_preargs=None,
! extra_postargs=None):
(_, macros, include_dirs) = \
***************
*** 121,132 ****
! def compile (self,
! sources,
! output_dir=None,
! macros=None,
! include_dirs=None,
! debug=0,
! extra_preargs=None,
! extra_postargs=None):
(output_dir, macros, include_dirs) = \
--- 121,132 ----
! def compile(self,
! sources,
! output_dir=None,
! macros=None,
! include_dirs=None,
! debug=0,
! extra_preargs=None,
! extra_postargs=None):
(output_dir, macros, include_dirs) = \
***************
*** 165,173 ****
! def create_static_lib (self,
! objects,
! output_libname,
! output_dir=None,
! debug=0):
(objects, output_dir) = self._fix_object_args(objects, output_dir)
--- 165,173 ----
! def create_static_lib(self,
! objects,
! output_libname,
! output_dir=None,
! debug=0):
(objects, output_dir) = self._fix_object_args(objects, output_dir)
***************
*** 198,214 ****
! def link (self,
! target_desc,
! objects,
! output_filename,
! output_dir=None,
! libraries=None,
! library_dirs=None,
! runtime_library_dirs=None,
! export_symbols=None,
! debug=0,
! extra_preargs=None,
! extra_postargs=None,
! build_temp=None):
(objects, output_dir) = self._fix_object_args(objects, output_dir)
--- 198,214 ----
! def link(self,
! target_desc,
! objects,
! output_filename,
! output_dir=None,
! libraries=None,
! library_dirs=None,
! runtime_library_dirs=None,
! export_symbols=None,
! debug=0,
! extra_preargs=None,
! extra_postargs=None,
! build_temp=None):
(objects, output_dir) = self._fix_object_args(objects, output_dir)
***************
*** 251,258 ****
# ccompiler.py.
! def library_dir_option (self, dir):
return "-L" + dir
! def runtime_library_dir_option (self, dir):
# XXX Hackish, at the very least. See Python bug #445902:
# http://sourceforge.net/tracker/index.php
--- 251,258 ----
# ccompiler.py.
! def library_dir_option(self, dir):
return "-L" + dir
! def runtime_library_dir_option(self, dir):
# XXX Hackish, at the very least. See Python bug #445902:
# http://sourceforge.net/tracker/index.php
***************
*** 273,281 ****
return "-R" + dir
! def library_option (self, lib):
return "-l" + lib
! def find_library_file (self, dirs, lib, debug=0):
for dir in dirs:
--- 273,281 ----
return "-R" + dir
! def library_option(self, lib):
return "-l" + lib
! def find_library_file(self, dirs, lib, debug=0):
for dir in dirs: