#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:
Amaury Forgeot d'Arc 2008-07-11 21:45:06 +00:00
parent ae6d2b9175
commit 2252d11c08
4 changed files with 24 additions and 9 deletions

View file

@ -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;