docstr: Profile a single call of a callable.
  
  Additional positional and keyword arguments may be passed
  along; the result of the call is returned, and exceptions are
  allowed to propagate cleanly, while ensuring that profiling is
  disabled on the way out.
docstr_tok: ["Profile","a","single","call","of","a","callable",".","Additional","positional","and","keyword","arguments","may","be","passed","along",";","the","result","of","the","call","is","returned",",","and","exceptions","are","allowed","to","propagate","cleanly",",","while","ensuring","that","profiling","is","disabled","on","the","way","out","."]
code: def runcall(self, func, *args, **kw):
      """Profile a single call of a callable.
  
      Additional positional and keyword arguments may be passed
      along; the result of the call is returned, and exceptions are
      allowed to propagate cleanly, while ensuring that profiling is
      disabled on the way out.
      """
      return self._prof.runcall(func, args, kw)
  
file_path: catboost/contrib/tools/python/src/Lib/hotshot/__init__.py
imports: import _hotshot
  from _hotshot import ProfilerError
  from warnings import warnpy3k
label_desc: Use image node_id 9 for calling the Profile obj's underlying member method code with example usage: obj.runcall(func) and returns: self