docstr: Force the result(s) to ``result``.
  
  If the hook was marked as a ``firstresult`` a single value should
  be set otherwise set a (modified) list of results. Any exceptions
  found during invocation will be deleted.
docstr_tok: ["Force","the","result","(","s",")","to","``","result","``",".","If","the","hook","was","marked","as","a","``","firstresult","``","a","single","value","should","be","set","otherwise","set","a","(","modified",")","list","of","results",".","Any","exceptions","found","during","invocation","will","be","deleted","."]
code: def force_result(self, result):
      """Force the result(s) to ``result``.
  
      If the hook was marked as a ``firstresult`` a single value should
      be set otherwise set a (modified) list of results. Any exceptions
      found during invocation will be deleted.
      """
      self._result = result
      self._excinfo = None
  
imports: import sys
  import warnings
label_desc: Use image node_id 5 for calling the _Result obj's underlying member method code with example usage: obj.force_result(result) without return types