Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: fa919fdf2583bdfead1df00e842f24f30b2a34bf authored by Ɓukasz Langa on 14 October 2019, 13:34:47 UTC
v3.8.0
Tip revision: fa919fd
traceback.h
#ifndef Py_CPYTHON_TRACEBACK_H
#  error "this header file must not be included directly"
#endif

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _traceback {
    PyObject_HEAD
    struct _traceback *tb_next;
    struct _frame *tb_frame;
    int tb_lasti;
    int tb_lineno;
} PyTracebackObject;

PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int);
PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int);

#ifdef __cplusplus
}
#endif
back to top