@@ -548,8 +548,7 @@ def gcc_get_limited_api_macros(headers):
548548 text = True ,
549549 )
550550
551- matches = re .findall (r"#define (\w+)" , preprocessor_output_with_macros )
552- return set (matches )
551+ return set (re .findall (r"#define (\w+)" , preprocessor_output_with_macros ))
553552
554553
555554def gcc_get_limited_api_definitions (headers ):
@@ -607,7 +606,7 @@ def check_private_names(manifest):
607606 if name .startswith ('_' ) and not item .abi_only :
608607 raise ValueError (
609608 f'`{ name } ` is private (underscore-prefixed) and should be '
610- f 'removed from the stable ABI list or marked `abi_only`' )
609+ 'removed from the stable ABI list or marked `abi_only`' )
611610
612611def check_dump (manifest , filename ):
613612 """Check that manifest.dump() corresponds to the data.
@@ -647,8 +646,8 @@ def main():
647646 )
648647 parser .add_argument (
649648 "--generate-all" , action = 'store_true' ,
650- help = "as --generate, but generate all file(s) using default filenames. "
651- " (unlike --all, does not run any extra checks)" ,
649+ help = "as --generate, but generate all file(s) using default filenames."
650+ " (unlike --all, does not run any extra checks)" ,
652651 )
653652 parser .add_argument (
654653 "-a" , "--all" , action = 'store_true' ,
0 commit comments