parameters: (self, fname, dic)
docstring: Removes items for method identifiers that are found in fname.
  
          The method reads the content of the file as one string and searches
          for all identifiers from dic. The identifiers that were found in
          the file are removed from the dictionary.
  
          Note: If more files is to be checked, the files where most items are
          probably used should be checked first and the resulting reduced
          dictionary should be used for checking the next files (speed up).
docstring_summary: Removes items for method identifiers that are found in fname.
docstring_tokens: Removes items for method identifiers that are found in fname .
function: def __removeUsedInFiles(self, fname, dic):
          """Removes items for method identifiers that are found in fname.
  
          The method reads the content of the file as one string and searches
          for all identifiers from dic. The identifiers that were found in
          the file are removed from the dictionary.
  
          Note: If more files is to be checked, the files where most items are
          probably used should be checked first and the resulting reduced
          dictionary should be used for checking the next files (speed up).
          """
          lst_in = list(dic.keys())   # identifiers to be searched for
  
          # Read content of the file as one string.
          assert os.path.isfile(fname)
          f = xopen(fname)
          cont = f.read()
          cont = ''.join(cont.split('\n')) # otherwise the 'match' function won't work.
          f.close()
  
          # Remove the items for identifiers that were found in the file.
          while lst_in:
              item = lst_in.pop(0)
              rexItem = re.compile('.*' + item + ' *\(')
              if rexItem.match(cont):
                  del dic[item]
function_tokens: def __removeUsedInFiles ( self , fname , dic ) : lst_in = list ( dic . keys ( ) ) # identifiers to be searched for # Read content of the file as one string. assert os . path . isfile ( fname ) f = xopen ( fname ) cont = f . read ( ) cont = '' . join ( cont . split ( '\n' ) ) # otherwise the 'match' function won't work. f . close ( ) # Remove the items for identifiers that were found in the file. while lst_in : item = lst_in . pop ( 0 ) rexItem = re . compile ( '.*' + item + ' *\(' ) if rexItem . match ( cont ) : del dic [ item ]