diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-09-20 22:42:10 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-09-20 22:42:10 (GMT) |
commit | 2c53971b37cd69f45d52c498c953734f961deb77 (patch) | |
tree | 6fa5bb08f26cad8da01998fb92ae0d5650924438 /Include | |
parent | 26d64aeee4face9f6929f4207647b0052ad27c36 (diff) | |
download | cpython-2c53971b37cd69f45d52c498c953734f961deb77.zip cpython-2c53971b37cd69f45d52c498c953734f961deb77.tar.gz cpython-2c53971b37cd69f45d52c498c953734f961deb77.tar.bz2 |
add PyErr_SyntaxLocationEx, to support adding a column offset
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyerrors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 243bc01..fb9ce91 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -229,6 +229,7 @@ int PySignal_SetWakeupFd(int fd); /* Support for adding program text to SyntaxErrors */ PyAPI_FUNC(void) PyErr_SyntaxLocation(const char *, int); +PyAPI_FUNC(void) PyErr_SyntaxLocationEx(const char *, int, int); PyAPI_FUNC(PyObject *) PyErr_ProgramText(const char *, int); /* The following functions are used to create and modify unicode |