mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
err_badcall()
|
||||
{
|
||||
err_setstr(SystemError, "bad argument to internal function");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue