Added err_badcall().

This commit is contained in:
Guido van Rossum 1990-10-21 22:09:12 +00:00
parent 40d9304d66
commit 683a072642
1 changed files with 6 additions and 0 deletions

View File

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