MCPcopy Index your code
hub / github.com/ipython/ipython / result

Method result

IPython/lib/backgroundjobs.py:332–337  ·  view source on GitHub ↗

result(N) -> return the result of job N.

(self,num)

Source from the content-addressed store, hash-verified

330 print('No jobs to flush.')
331
332 def result(self,num):
333 """result(N) -> return the result of job N."""
334 try:
335 return self.all[num].result
336 except KeyError:
337 error('Job #%s not found' % num)
338
339 def _traceback(self, job):
340 num = job if isinstance(job, int) else job.num

Callers 2

cmdloopMethod · 0.80
in_threadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected