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

Function PyThread_set_key_value

Python/thread.c:341–352  ·  view source on GitHub ↗

Confusing: If the current thread has an association for key, * value is ignored, and 0 is returned. Else an attempt is made to create * an association of key to value for the current thread. 0 is returned * if that succeeds, but -1 is returned if there's not enough memory * to create the association. value must not be NULL. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

find_keyFunction · 0.85

Tested by

no test coverage detected