diff options
author | Guido van Rossum <guido@python.org> | 1990-10-21 22:09:12 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-10-21 22:09:12 (GMT) |
commit | 683a0726420ec63213e95b0e0fdafc11a4dfc9ba (patch) | |
tree | a2bf83286a68b3d6ca61715b6dfd2ff1b30f960d /Python/errors.c | |
parent | 40d9304d66edcab3925c75e9d8ad093562cf5d7b (diff) | |
download | cpython-683a0726420ec63213e95b0e0fdafc11a4dfc9ba.zip cpython-683a0726420ec63213e95b0e0fdafc11a4dfc9ba.tar.gz cpython-683a0726420ec63213e95b0e0fdafc11a4dfc9ba.tar.bz2 |
Added err_badcall().
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Python/errors.c b/Python/errors.c index 91ae730..cba3f02 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -140,3 +140,9 @@ err_errno(exc) DECREF(v); return NULL; } + +void +err_badcall() +{ + err_setstr(SystemError, "bad argument to internal function"); +} |