Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Callable
Class
Callable
Lib/test/test_weakref.py:34–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
33
34
class
Callable:
35
bar = None
36
37
def
__call__(self, x):
38
self.bar = x
39
40
41
def
create_function():
Callers
2
test_callable_proxy
Method · 0.70
test_cannot_instantiate
Method · 0.70
Calls
no outgoing calls
Tested by
2
test_callable_proxy
Method · 0.56
test_cannot_instantiate
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…