MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _proxify

Method _proxify

tools/python-3.11.9-amd64/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 3

RPCProxyClass · 0.85
listFunction · 0.85
mapFunction · 0.50

Tested by

no test coverage detected