Home | History | Annotate | Download | only in Python

Lines Matching refs:warnings_module

57     PyObject *warnings_module, *obj;
67 warnings_module = PyImport_Import(warnings_str);
68 if (warnings_module == NULL) {
85 warnings_module = PyImport_GetModule(warnings_str);
86 if (warnings_module == NULL)
90 (void)_PyObject_LookupAttrId(warnings_module, attr_id, &obj);
91 Py_DECREF(warnings_module);