summaryrefslogtreecommitdiffstats
path: root/Include/traceback.h
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2002-03-19 16:02:35 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2002-03-19 16:02:35 (GMT)
commit913b9078cfeca27c36173ffae8028a089bf13971 (patch)
treec2b124b699b1444ac7acdb427be0b1065ee086ad /Include/traceback.h
parent4e732dc66a2727b39fcbd3af08a2ff5a4a1fc016 (diff)
downloadcpython-913b9078cfeca27c36173ffae8028a089bf13971.zip
cpython-913b9078cfeca27c36173ffae8028a089bf13971.tar.gz
cpython-913b9078cfeca27c36173ffae8028a089bf13971.tar.bz2
[Bug #528914] PyTraceBack_Store/Fetch were deleted in 1997, but their
prototypes remain. Noted by Yakov Markovitch. Bugfix candidate.
Diffstat (limited to 'Include/traceback.h')
-rw-r--r--Include/traceback.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Include/traceback.h b/Include/traceback.h
index baf82e1..6879043 100644
--- a/Include/traceback.h
+++ b/Include/traceback.h
@@ -10,11 +10,9 @@ extern "C" {
struct _frame;
DL_IMPORT(int) PyTraceBack_Here(struct _frame *);
-DL_IMPORT(PyObject *) PyTraceBack_Fetch(void);
-DL_IMPORT(int) PyTraceBack_Store(PyObject *);
DL_IMPORT(int) PyTraceBack_Print(PyObject *, PyObject *);
-/* Reveale traceback type so we can typecheck traceback objects */
+/* Reveal traceback type so we can typecheck traceback objects */
extern DL_IMPORT(PyTypeObject) PyTraceBack_Type;
#define PyTraceBack_Check(v) ((v)->ob_type == &PyTraceBack_Type)