Searched refs:already_warned (Results 1 – 2 of 2) sorted by relevance
382 already_warned(PyObject *registry, PyObject *key, int should_set) in already_warned() function384 PyObject *version_obj, *already_warned; in already_warned() local413 already_warned = PyDict_GetItemWithError(registry, key); in already_warned()414 if (already_warned != NULL) { in already_warned()415 int rc = PyObject_IsTrue(already_warned); in already_warned()476 rc = already_warned(registry, altkey, 1); in update_registry()676 rc = already_warned(registry, key, 0); in warn_explicit()
479 Python/_warnings.c:already_warned():PyId_version _Py_IDENTIFIER(version)