Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
D_warnings.c169 already_warned(PyObject *registry, PyObject *key, int should_set) in already_warned() function
171 PyObject *already_warned; in already_warned() local
176 already_warned = PyDict_GetItem(registry, key); in already_warned()
177 if (already_warned != NULL) { in already_warned()
178 int rc = PyObject_IsTrue(already_warned); in already_warned()
236 rc = already_warned(registry, altkey, 1); in update_registry()
341 rc = already_warned(registry, key, 0); in warn_explicit()