Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ _make_id
Function
_make_id
django/dispatch/dispatcher.py:15–18 ·
view source on GitHub ↗
(target)
Source
from the content-addressed store, hash-verified
13
14
15
def
_make_id(target):
16
if
hasattr(target,
"__func__"
):
17
return
(id(target.__self__), id(target.__func__))
18
return
id(target)
19
20
21
NONE_ID = _make_id(None)
Callers
5
make_id
Method · 0.90
dispatcher.py
File · 0.85
connect
Method · 0.85
disconnect
Method · 0.85
_live_receivers
Method · 0.85
Calls
no outgoing calls
Tested by
1
make_id
Method · 0.72