(self, args: T.List[str])
return patched_args
Always returns a copy that can be independently mutated
Always returns a copy that can be independently mutated
Always returns a copy that can be independently mutated
def unix_args_to_native(self, args: T.List[str]) -> T.List[str]:
        "Always returns a copy that can be independently mutated"
        patched_args = []  # type: T.List[str]
        for arg in args:
            added = 0
            for ptrn in ccomp_args_to_wul:
                if re.match(ptrn, arg):
                    patched_args.append('-WUl,' + arg)
                    added = 1
            if not added:
                patched_args.append(arg)
        return patched_args
def unix_args_to_native ( self , args : T . List [ str ] ) -> T . List [ str ] : patched_args = [ ] # type: T.List[str] for arg in args : added = 0 for ptrn in ccomp_args_to_wul : if re . match ( ptrn , arg ) : patched_args . append ( '-WUl,' + arg ) added = 1 if not added : patched_args . append ( arg ) return patched_args