original_docstring: 
          Fetch warnings doing a SHOW WARNINGS. Can be called after getting
          the result.
  
          Returns a result set or None when there were no warnings.
          
docstring: Fetch warnings doing a SHOW WARNINGS. Can be called after getting
  the result.
  
  Returns a result set or None when there were no warnings.
docstring_tokens: Fetch warnings doing a SHOW WARNINGS . Can be called after getting the result . Returns a result set or None when there were no warnings .
code: def _fetch_warnings(self):
          """
          Fetch warnings doing a SHOW WARNINGS. Can be called after getting
          the result.
  
          Returns a result set or None when there were no warnings.
          """
          res = []
          try:
              cur = self._connection.cursor(raw=False)
              cur.execute("SHOW WARNINGS")
              res = cur.fetchall()
              cur.close()
          except Exception as err:
              raise errors.InterfaceError(
                  "Failed getting warnings; %s" % err)
  
          if len(res):
              return res
  
          return None
code_tokens: def _fetch_warnings ( self ) : res = [ ] try : cur = self . _connection . cursor ( raw = False ) cur . execute ( "SHOW WARNINGS" ) res = cur . fetchall ( ) cur . close ( ) except Exception as err : raise errors . InterfaceError ( "Failed getting warnings; %s" % err ) if len ( res ) : return res return None
short_docstring: Fetch warnings doing a SHOW WARNINGS.
short_docstring_tokens: Fetch warnings doing a SHOW WARNINGS .
comment: """
          Fetch warnings doing a SHOW WARNINGS. Can be called after getting
          the result.
  
          Returns a result set or None when there were no warnings.
          """