From 683a0726420ec63213e95b0e0fdafc11a4dfc9ba Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 21 Oct 1990 22:09:12 +0000 Subject: Added err_badcall(). --- Python/errors.c | 6 ++++++ 1 file changed, 6 insertions(+) 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"); +} -- cgit v0.12