From 69cf0b653c19ac3db9d0f7f70e4c1833d90fb31f 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(+) (limited to 'Python/errors.c') diff --git a/Python/errors.c b/Python/errors.c index 91ae730ae6..cba3f0226b 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 v1.2.1