parameters: (self, predicate)
return_statement: return found
docstring: Remove all files from the file list that match the predicate.
          Return True if any matching files were removed
docstring_summary: Remove all files from the file list that match the predicate.
          Return True if any matching files were removed
docstring_tokens: Remove all files from the file list that match the predicate . Return True if any matching files were removed
function: def _remove_files(self, predicate):
          """
          Remove all files from the file list that match the predicate.
          Return True if any matching files were removed
          """
          found = False
          for i in range(len(self.files) - 1, -1, -1):
              if predicate(self.files[i]):
                  self.debug_print(" removing " + self.files[i])
                  del self.files[i]
                  found = True
          return found
function_tokens: def _remove_files ( self , predicate ) : found = False for i in range ( len ( self . files ) - 1 , - 1 , - 1 ) : if predicate ( self . files [ i ] ) : self . debug_print ( " removing " + self . files [ i ] ) del self . files [ i ] found = True return found