Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
D_warnings.c106 assert(_PyRuntime.warnings.once_registry); in get_once_registry()
107 return _PyRuntime.warnings.once_registry; in get_once_registry()
117 Py_SETREF(_PyRuntime.warnings.once_registry, registry); in get_once_registry()
1323 if (_PyRuntime.warnings.once_registry == NULL) { in _PyWarnings_Init()
1324 _PyRuntime.warnings.once_registry = PyDict_New(); in _PyWarnings_Init()
1325 if (_PyRuntime.warnings.once_registry == NULL) in _PyWarnings_Init()
1328 Py_INCREF(_PyRuntime.warnings.once_registry); in _PyWarnings_Init()
1330 _PyRuntime.warnings.once_registry) < 0) in _PyWarnings_Init()
/external/python/cpython3/Include/internal/
Dwarnings.h13 PyObject *once_registry; /* Dict */ member
/external/python/cpython2/Lib/
Dwarnings.py397 from _warnings import (filters, default_action, once_registry,
400 onceregistry = once_registry