MCPcopy
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
15def _make_id(target):
16 if hasattr(target, "__func__"):
17 return (id(target.__self__), id(target.__func__))
18 return id(target)
19
20
21NONE_ID = _make_id(None)

Callers 5

make_idMethod · 0.90
dispatcher.pyFile · 0.85
connectMethod · 0.85
disconnectMethod · 0.85
_live_receiversMethod · 0.85

Calls

no outgoing calls

Tested by 1

make_idMethod · 0.72