mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
#3342: In tracebacks, printed source lines were not indented since r62555.
#3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
This commit is contained in:
parent
ae6d2b9175
commit
2252d11c08
4 changed files with 24 additions and 9 deletions
|
@ -19,7 +19,7 @@ typedef struct _traceback {
|
|||
|
||||
PyAPI_FUNC(int) PyTraceBack_Here(struct _frame *);
|
||||
PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *);
|
||||
PyAPI_FUNC(int) Py_DisplaySourceLine(PyObject *, const char *, int);
|
||||
PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, const char *, int, int);
|
||||
|
||||
/* Reveal traceback type so we can typecheck traceback objects */
|
||||
PyAPI_DATA(PyTypeObject) PyTraceBack_Type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue