From: Martin Hermant Date: Tue, 30 May 2017 15:13:21 +0000 (-0400) Subject: gen_external.py : pepify X-Git-Tag: 0.4.6~52^2~4 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=dad51ced4a3c4ed6910883e3ab90e834a2667995;p=aubio.git gen_external.py : pepify --- diff --git a/python/lib/gen_external.py b/python/lib/gen_external.py index 0cc9b31b..f4abe870 100644 --- a/python/lib/gen_external.py +++ b/python/lib/gen_external.py @@ -135,8 +135,8 @@ def get_c_declarations(header=header, usedouble=False): return cpp_output -def get_cpp_objects_from_c_declarations(c_declarations,skip_objects = None): - if skip_objects==None: +def get_cpp_objects_from_c_declarations(c_declarations, skip_objects=None): + if skip_objects == None: skip_objects = default_skip_objects typedefs = filter(lambda y: y.startswith('typedef struct _aubio'), c_declarations) cpp_objects = [a.split()[3][:-1] for a in typedefs]