summaryrefslogtreecommitdiff
path: root/Include/traceback.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-15 15:32:09 +0000
committerBenjamin Peterson <benjamin@python.org>2008-07-15 15:32:09 +0000
commit5204021e0ae3e8a1988b65917091690aef852433 (patch)
tree41130386cee5a9b2fec2376b329249832c9d352e /Include/traceback.h
parentc91662b438a5c6b58e03b60559196511d50d0b7d (diff)
downloadcpython-5204021e0ae3e8a1988b65917091690aef852433.tar.gz
implement chained exception tracebacks
patch from Antoine Pitrou #3112
Diffstat (limited to 'Include/traceback.h')
-rw-r--r--Include/traceback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/traceback.h b/Include/traceback.h
index b77cc9202b..0be3ad53b6 100644
--- a/Include/traceback.h
+++ b/Include/traceback.h
@@ -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;