diff Python/errors.c @ 22:2d3eb717a00d legacy-trunk

Added err_badcall().
author Guido van Rossum <guido@python.org>
date Sun, 21 Oct 1990 22:09:12 +0000
parents 33701db4ea55
children c795fdaced9b
line wrap: on
line diff
--- a/Python/errors.c	Sun Oct 21 16:17:34 1990 +0000
+++ b/Python/errors.c	Sun Oct 21 22:09:12 1990 +0000
@@ -140,3 +140,9 @@
 		DECREF(v);
 	return NULL;
 }
+
+void
+err_badcall()
+{
+	err_setstr(SystemError, "bad argument to internal function");
+}