original_docstring: 
          Handle the result after a command was send. The result can be either
          an OK-packet or a dictionary containing column/eof information.
  
          Raises InterfaceError when result is not a dict() or result is
          invalid.
          
docstring: Handle the result after a command was send. The result can be either
  an OK-packet or a dictionary containing column/eof information.
  
  Raises InterfaceError when result is not a dict() or result is
  invalid.
docstring_tokens: Handle the result after a command was send . The result can be either an OK - packet or a dictionary containing column / eof information . Raises InterfaceError when result is not a dict () or result is invalid .
code: def _handle_result(self, result):
          """
          Handle the result after a command was send. The result can be either
          an OK-packet or a dictionary containing column/eof information.
  
          Raises InterfaceError when result is not a dict() or result is
          invalid.
          """
          if not isinstance(result, dict):
              raise errors.InterfaceError('Result was not a dict()')
  
          if 'columns' in result:
              # Weak test, must be column/eof information
              self._description = result['columns']
              self._connection.unread_result = True
              self._handle_resultset()
          elif 'affected_rows' in result:
              # Weak test, must be an OK-packet
              self._connection.unread_result = False
              self._handle_noresultset(result)
          else:
              raise errors.InterfaceError('Invalid result')
code_tokens: def _handle_result ( self , result ) : if not isinstance ( result , dict ) : raise errors . InterfaceError ( 'Result was not a dict()' ) if 'columns' in result : self . _description = result [ 'columns' ] self . _connection . unread_result = True self . _handle_resultset ( ) elif 'affected_rows' in result : self . _connection . unread_result = False self . _handle_noresultset ( result ) else : raise errors . InterfaceError ( 'Invalid result' )
short_docstring: Handle the result after a command was send.
short_docstring_tokens: Handle the result after a command was send .
comment: """
          Handle the result after a command was send. The result can be either
          an OK-packet or a dictionary containing column/eof information.
  
          Raises InterfaceError when result is not a dict() or result is
          invalid.
          """$SEP$# Weak test, must be column/eof information$SEP$# Weak test, must be an OK-packet