PyThread_get_key_value

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (C) @nogc nothrow
void*
PyThread_get_key_value
(
int
)

Meta