From: Guido van Rossum Date: Sun, 21 Oct 1990 22:09:12 +0000 (+0000) Subject: Added err_badcall(). X-Git-Tag: v0.9.8~1161 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=683a0726420ec63213e95b0e0fdafc11a4dfc9ba;p=thirdparty%2FPython%2Fcpython.git Added err_badcall(). --- diff --git a/Python/errors.c b/Python/errors.c index 91ae730ae6e9..cba3f0226b4a 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"); +}