diff options
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/errors.c b/Python/errors.c index 1f955b54f0..34445b65ea 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -675,6 +675,7 @@ _PyErr_BadInternalCall(const char *filename, int lineno) void PyErr_BadInternalCall(void) { + assert(0 && "bad argument to internal function"); PyErr_Format(PyExc_SystemError, "bad argument to internal function"); } |