summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-08-28 02:55:48 (GMT)
committerGuido van Rossum <guido@python.org>1995-08-28 02:55:48 (GMT)
commit69f6ee6a9d250899312586d12ce429b9ecfbe3bc (patch)
tree0b6e4c1987b2f032de06b0c38588be4309d99715 /Python/errors.c
parent97162b5b952283ebf504aff23260dee51d58f095 (diff)
downloadcpython-69f6ee6a9d250899312586d12ce429b9ecfbe3bc.zip
cpython-69f6ee6a9d250899312586d12ce429b9ecfbe3bc.tar.gz
cpython-69f6ee6a9d250899312586d12ce429b9ecfbe3bc.tar.bz2
err_badcall() is fatal error
Diffstat (limited to 'Python/errors.c')
-rw-r--r--Python/errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 3c721b8..0249fd9 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -194,5 +194,6 @@ err_errno(exc)
void
err_badcall()
{
+ fatal("err_badcall() called");
err_setstr(SystemError, "bad argument to internal function");
}