summaryrefslogtreecommitdiff
path: root/Include/traceback.h
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2014-10-08 20:00:09 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2014-10-08 20:00:09 +0200
commit0ddbf4795f40d2d3386dc56ffa264b50a015f6c9 (patch)
treead87573215721b20a0160dacbe8dc0f423e56c1c /Include/traceback.h
parentb2fdafe3d2ac643b635d3b89429818e6036e8925 (diff)
downloadcpython-git-0ddbf4795f40d2d3386dc56ffa264b50a015f6c9.tar.gz
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/traceback.h')
-rw-r--r--Include/traceback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/traceback.h b/Include/traceback.h
index 77347077e9..12d467a08d 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 */