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

Class MethodProxy

tools/python-3.11.9-amd64/Lib/idlelib/rpc.py:599–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597
598
599class MethodProxy:
600
601 def __init__(self, sockio, oid, name):
602 self.sockio = sockio
603 self.oid = oid
604 self.name = name
605
606 def __call__(self, /, *args, **kwargs):
607 value = self.sockio.remotecall(self.oid, self.name, args, kwargs)
608 return value
609
610
611# XXX KBK 09Sep03 We need a proper unit test for this module. Previously

Callers 1

__getattr__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected