--- a/Include/pyerrors.h Mon Aug 26 14:05:19 2013 +0200 |
+++ b/Include/pyerrors.h Mon Aug 26 16:10:52 2013 +0200 |
@@ -301,9 +301,16 @@ PyAPI_FUNC(void) PyErr_SyntaxLocationEx( |
const char *filename, /* decoded from the filesystem encoding */ |
int lineno, |
int col_offset); |
+PyAPI_FUNC(void) PyErr_SyntaxLocationObject( |
+ PyObject *filename, |
+ int lineno, |
+ int col_offset); |
PyAPI_FUNC(PyObject *) PyErr_ProgramText( |
const char *filename, /* decoded from the filesystem encoding */ |
int lineno); |
+PyAPI_FUNC(PyObject *) PyErr_ProgramTextObject( |
+ PyObject *filename, |
+ int lineno); |
/* The following functions are used to create and modify unicode |
exceptions from C */ |