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

Method __call__

Lib/weakref.py:68–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 return self
67
68 def __call__(self):
69 obj = super().__call__()
70 func = self._func_ref()
71 if obj is None or func is None:
72 return None
73 return self._meth_type(func, obj)
74
75 def __eq__(self, other):
76 if isinstance(other, WeakMethod):

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__call__Method · 0.45

Tested by

no test coverage detected