code: def check_rst(code, ignore):
      
      filename = '<string>'
  
      for result in check(code,
                          filename=filename,
                          ignore=ignore):
          yield result
docs: Yield errors in nested RST code.