diff options
-rw-r--r-- | Python/errors.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Python/errors.c b/Python/errors.c index 91ae730..cba3f02 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -140,3 +140,9 @@ err_errno(exc) DECREF(v); return NULL; } + +void +err_badcall() +{ + err_setstr(SystemError, "bad argument to internal function"); +} |