Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
traceback.h27 linesDownload Raw Back to include
1#ifndef Py_TRACEBACK_H2#define Py_TRACEBACK_H3#ifdef __cplusplus4extern "C" {5#endif6 7/* Traceback interface */8 9PyAPI_FUNC(int) PyTraceBack_Here(PyFrameObject *);10PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *);11 12/* Reveal traceback type so we can typecheck traceback objects */13PyAPI_DATA(PyTypeObject) PyTraceBack_Type;14#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)15 16 17#ifndef Py_LIMITED_API18#  define Py_CPYTHON_TRACEBACK_H19#  include "cpython/traceback.h"20#  undef Py_CPYTHON_TRACEBACK_H21#endif22 23#ifdef __cplusplus24}25#endif26#endif /* !Py_TRACEBACK_H */27 
codekingpro/portable-devtools · Team Ai