Searched refs:PyErr_Occurred (Results 1 – 1 of 1) sorted by relevance
95 static PyObject *(*PyErr_Occurred)(void); variable126 PetscCall(PetscDLPyLibSym("PyErr_Occurred", &PyErr_Occurred)); in PetscPythonLoadLibrary()273 if (!PyErr_Occurred()) PetscFunctionReturn(PETSC_SUCCESS); in PetscPythonPrintError()