summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2014-10-08 18:02:40 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2014-10-08 18:02:40 (GMT)
commit94262ebc9c1249c1fdec771a48e9f666c37cfcde (patch)
tree5a2e32677494a1950edfa66ab67a186da867b5d6 /Include
parent3a43dbfabf73c8b74ccbb5255fdd3a2842a045e2 (diff)
parent0ddbf4795f40d2d3386dc56ffa264b50a015f6c9 (diff)
downloadcpython-94262ebc9c1249c1fdec771a48e9f666c37cfcde.zip
cpython-94262ebc9c1249c1fdec771a48e9f666c37cfcde.tar.gz
cpython-94262ebc9c1249c1fdec771a48e9f666c37cfcde.tar.bz2
Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.
Initial patch by Mark Shannon.
Diffstat (limited to 'Include')
-rw-r--r--Include/traceback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/traceback.h b/Include/traceback.h
index 7734707..12d467a 100644
--- a/Include/traceback.h
+++ b/Include/traceback.h
@@ -24,6 +24,7 @@ PyAPI_FUNC(int) PyTraceBack_Here(struct _frame *);
PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *);
#ifndef Py_LIMITED_API
PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int);
+PyAPI_FUNC(void) _PyTraceback_Add(char *, char *, int);
#endif
/* Reveal traceback type so we can typecheck traceback objects */