MCPcopy Index your code
hub / github.com/python/cpython / _call

Method _call

Lib/concurrent/interpreters/__init__.py:219–223  ·  view source on GitHub ↗
(self, callable, args, kwargs)

Source from the content-addressed store, hash-verified

217 raise ExecutionFailed(excinfo)
218
219 def _call(self, callable, args, kwargs):
220 res, excinfo = _interpreters.call(self._id, callable, args, kwargs, restrict=True)
221 if excinfo is not None:
222 raise ExecutionFailed(excinfo)
223 return res
224
225 def call(self, callable, /, *args, **kwargs):
226 """Call the object in the interpreter with given args/kwargs.

Callers 1

callMethod · 0.95

Calls 2

ExecutionFailedClass · 0.85
callMethod · 0.45

Tested by

no test coverage detected