MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / find_key

Function find_key

Python/thread.c:260–298  ·  view source on GitHub ↗

Internal helper. * If the current thread has a mapping for key, the appropriate struct key* * is returned. NB: value is ignored in this case! * If there is no mapping for key in the current thread, then: * If value is NULL, NULL is returned. * Else a mapping of key to value is created for the current thread, * and a pointer to a new struct key* is returned; except that if *

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

PyThread_set_key_valueFunction · 0.85
PyThread_get_key_valueFunction · 0.85

Calls 4

PyThread_acquire_lockFunction · 0.70
Py_FatalErrorFunction · 0.70
PyThread_release_lockFunction · 0.70

Tested by

no test coverage detected