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

Method __init__

Lib/idlelib/rpc.py:132–141  ·  view source on GitHub ↗
(self, sock, objtable=None, debugging=None)

Source from the content-addressed store, hash-verified

130 nextseq = 0
131
132 def __init__(self, sock, objtable=None, debugging=None):
133 self.sockthread = threading.current_thread()
134 if debugging is not None:
135 self.debugging = debugging
136 self.sock = sock
137 if objtable is None:
138 objtable = objecttable
139 self.objtable = objtable
140 self.responses = {}
141 self.cvars = {}
142
143 def close(self):
144 sock = self.sock

Callers 3

__init__Method · 0.45
__init__Method · 0.45
acceptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected