Home
last modified time | relevance | path

Searched refs:cached_context (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Modules/_decimal/
D_decimal.c132 static PyDecContextObject *cached_context = NULL; variable
1231 if (self == cached_context) { in context_dealloc()
1232 cached_context = NULL; in context_dealloc()
1554 cached_context = (PyDecContextObject *)tl_context; in current_context_from_dict()
1555 cached_context->tstate = tstate; in current_context_from_dict()
1569 if (cached_context && cached_context->tstate == tstate) { in current_context()
1570 return (PyObject *)cached_context; in current_context()
1628 cached_context = NULL; in PyDec_SetCurrentContext()