summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2014-10-08 18:00:09 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2014-10-08 18:00:09 (GMT)
commit0ddbf4795f40d2d3386dc56ffa264b50a015f6c9 (patch)
treead87573215721b20a0160dacbe8dc0f423e56c1c /Include
parentb2fdafe3d2ac643b635d3b89429818e6036e8925 (diff)
downloadcpython-0ddbf4795f40d2d3386dc56ffa264b50a015f6c9.zip
cpython-0ddbf4795f40d2d3386dc56ffa264b50a015f6c9.tar.gz
cpython-0ddbf4795f40d2d3386dc56ffa264b50a015f6c9.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 */