]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added err_badcall().
authorGuido van Rossum <guido@python.org>
Sun, 21 Oct 1990 22:09:12 +0000 (22:09 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 21 Oct 1990 22:09:12 +0000 (22:09 +0000)
Python/errors.c

index 91ae730ae6e916bb2fa08b48bb72eb492196bee2..cba3f0226b4a69600b9c3574c6d17de5f48b72cf 100644 (file)
@@ -140,3 +140,9 @@ err_errno(exc)
                DECREF(v);
        return NULL;
 }
+
+void
+err_badcall()
+{
+       err_setstr(SystemError, "bad argument to internal function");
+}