Home
last modified time | relevance | path

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

/third_party/python/Python/
D_warnings.c48 Py_CLEAR(st->once_registry); in warnings_clear_state()
128 if (st->once_registry == NULL) { in _PyWarnings_InitState()
129 st->once_registry = PyDict_New(); in _PyWarnings_InitState()
130 if (st->once_registry == NULL) { in _PyWarnings_InitState()
236 assert(st->once_registry); in get_once_registry()
237 return st->once_registry; in get_once_registry()
247 Py_SETREF(st->once_registry, registry); in get_once_registry()
1363 if (PyModule_AddObjectRef(module, "_onceregistry", st->once_registry) < 0) { in warnings_module_exec()
/third_party/python/Include/internal/
Dpycore_warnings.h15 PyObject *once_registry; /* Dict */ member