mirror of https://github.com/python/cpython.git
Python style conformance: Delete spaces between name of function and arglist.
Making the world better a little bit at a time <wink>.
This commit is contained in:
parent
47d3a7afda
commit
28f46e1839
|
@ -81,14 +81,14 @@ class UnixCCompiler (CCompiler):
|
|||
|
||||
|
||||
|
||||
def __init__ (self,
|
||||
def __init__(self,
|
||||
verbose=0,
|
||||
dry_run=0,
|
||||
force=0):
|
||||
CCompiler.__init__ (self, verbose, dry_run, force)
|
||||
|
||||
|
||||
def preprocess (self,
|
||||
def preprocess(self,
|
||||
source,
|
||||
output_file=None,
|
||||
macros=None,
|
||||
|
@ -120,7 +120,7 @@ def preprocess (self,
|
|||
raise CompileError, msg
|
||||
|
||||
|
||||
def compile (self,
|
||||
def compile(self,
|
||||
sources,
|
||||
output_dir=None,
|
||||
macros=None,
|
||||
|
@ -164,7 +164,7 @@ def compile (self,
|
|||
# compile ()
|
||||
|
||||
|
||||
def create_static_lib (self,
|
||||
def create_static_lib(self,
|
||||
objects,
|
||||
output_libname,
|
||||
output_dir=None,
|
||||
|
@ -197,7 +197,7 @@ def create_static_lib (self,
|
|||
# create_static_lib ()
|
||||
|
||||
|
||||
def link (self,
|
||||
def link(self,
|
||||
target_desc,
|
||||
objects,
|
||||
output_filename,
|
||||
|
@ -250,10 +250,10 @@ def link (self,
|
|||
# These are all used by the 'gen_lib_options() function, in
|
||||
# ccompiler.py.
|
||||
|
||||
def library_dir_option (self, dir):
|
||||
def library_dir_option(self, dir):
|
||||
return "-L" + dir
|
||||
|
||||
def runtime_library_dir_option (self, dir):
|
||||
def runtime_library_dir_option(self, dir):
|
||||
# XXX Hackish, at the very least. See Python bug #445902:
|
||||
# http://sourceforge.net/tracker/index.php
|
||||
# ?func=detail&aid=445902&group_id=5470&atid=105470
|
||||
|
@ -272,11 +272,11 @@ def runtime_library_dir_option (self, dir):
|
|||
else:
|
||||
return "-R" + dir
|
||||
|
||||
def library_option (self, lib):
|
||||
def library_option(self, lib):
|
||||
return "-l" + lib
|
||||
|
||||
|
||||
def find_library_file (self, dirs, lib, debug=0):
|
||||
def find_library_file(self, dirs, lib, debug=0):
|
||||
|
||||
for dir in dirs:
|
||||
shared = os.path.join(
|
||||
|
|
Loading…
Reference in New Issue