mirror of
https://github.com/python/cpython.git
synced 2025-10-07 15:42:02 +00:00
Added err_badcall().
This commit is contained in:
parent
40d9304d66
commit
683a072642
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue