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

Method __init__

Lib/test/test_urllib2.py:321–324  ·  view source on GitHub ↗
(self, meth_name, action, handle)

Source from the content-addressed store, hash-verified

319
320class FakeMethod:
321 def __init__(self, meth_name, action, handle):
322 self.meth_name = meth_name
323 self.handle = handle
324 self.action = action
325
326 def __call__(self, *args):
327 return self.handle(self.meth_name, self.action, *args)

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected