parameters: (self, filename)
docstring: Obtain the warnings for the specified file.
docstring_summary: Obtain the warnings for the specified file.
docstring_tokens: Obtain the warnings for the specified file .
function: def warnings_for_file(self, filename):
          """Obtain the warnings for the specified file."""
          f = self._files.get(filename, {'warnings': []})
  
          for warning in f['warnings']:
              yield warning
function_tokens: def warnings_for_file ( self , filename ) : f = self . _files . get ( filename , { 'warnings' : [ ] } ) for warning in f [ 'warnings' ] : yield warning