:orphan: # PetscPythonPrintError Print any current Python errors. ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscPythonPrintError(void) ``` ## See Also `PetscPythonInitialize()`, `PetscPythonFinalize()` ## Level developer ## Location src/sys/python/pythonsys.c ## Examples src/ksp/ksp/tutorials/ex100.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/python/pythonsys.c) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)