Added err_badcall().
This commit is contained in:
parent
40d9304d66
commit
683a072642
|
@ -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");
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue