https://github.com/python/cpython
Raw File
Tip revision: e2b4e4bab90b69fbd3614fc9ce5755edfe184297 authored by Pablo Galindo on 05 November 2021, 19:02:44 UTC
Python 3.11.0a2
Tip revision: e2b4e4b
traceback.h
#ifndef Py_CPYTHON_TRACEBACK_H
#  error "this header file must not be included directly"
#endif

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

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