chiark / gitweb /
Use ValueError instead of SyntaxError throughout.
[catacomb-python] / catacomb-python.h
index bb84a74dec4297ac2afb7c87dff38c5051fa4354..b287450280a5318114e098e62708a5b49ae09b28 100644 (file)
 #define VALERR(str) EXCERR(PyExc_ValueError, str)
 #define TYERR(str) EXCERR(PyExc_TypeError, str)
 #define ZDIVERR(str) EXCERR(PyExc_ZeroDivisionError, str)
-#define SYNERR(str) EXCERR(PyExc_SyntaxError, str)
 #define SYSERR(str) EXCERR(PyExc_SystemError, str)
 #define NIERR(str) EXCERR(PyExc_NotImplementedError, str)
 #define INDEXERR(idx) do {                                             \