code: def from_call(cls, func):
      __tracebackhide__ = True
      result = excinfo = None
      try:
          result = func()
      except BaseException:
          excinfo = sys.exc_info()
  
      return cls(result, excinfo)
  
imports: import sys
  import warnings
label_desc: Use image node_id 4 for calling the _Result obj's underlying member method code with example usage: obj.from_call(cls, func) and returns: cls