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

Method _proxify

Lib/idlelib/rpc.py:298–304  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

296 return response
297
298 def _proxify(self, obj):
299 if isinstance(obj, RemoteProxy):
300 return RPCProxy(self, obj.oid)
301 if isinstance(obj, list):
302 return list(map(self._proxify, obj))
303 # XXX Check for other types -- not currently needed
304 return obj
305
306 def _getresponse(self, myseq, wait):
307 self.debug("_getresponse:myseq:", myseq)

Callers 1

getresponseMethod · 0.95

Calls 2

RPCProxyClass · 0.85
listClass · 0.85

Tested by

no test coverage detected