diff Include/traceback.h @ 47933:4f804ee772eb legacy-trunk

#3342: In tracebacks, printed source lines were not indented since r62555. #3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Fri, 11 Jul 2008 21:45:06 +0000
parents 47d9bbe10897
children
line wrap: on
line diff
--- a/Include/traceback.h	Fri Jul 11 21:28:25 2008 +0000
+++ b/Include/traceback.h	Fri Jul 11 21:45:06 2008 +0000
@@ -19,7 +19,7 @@
 
 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;