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

Method asyncreturn

Lib/idlelib/rpc.py:246–250  ·  view source on GitHub ↗
(self, seq)

Source from the content-addressed store, hash-verified

244 return seq
245
246 def asyncreturn(self, seq):
247 self.debug("asyncreturn:%d:call getresponse(): " % seq)
248 response = self.getresponse(seq, wait=0.05)
249 self.debug(("asyncreturn:%d:response: " % seq), response)
250 return self.decoderesponse(response)
251
252 def decoderesponse(self, response):
253 how, what = response

Callers 2

remotecallMethod · 0.95
remotequeueMethod · 0.95

Calls 3

debugMethod · 0.95
getresponseMethod · 0.95
decoderesponseMethod · 0.95

Tested by

no test coverage detected