summaryrefslogtreecommitdiffstats
path: root/Python/pythonmain.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-27 16:48:10 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-27 16:48:10 (GMT)
commitcb4eeddeea7c4f83ed416b886a67e9c84032edeb (patch)
tree4339792405e44d69b21b0a586f03be97e6bd54d5 /Python/pythonmain.c
parent3b1a57a4a0bf49b12869f80d9b7880fcff72a85a (diff)
downloadcpython-cb4eeddeea7c4f83ed416b886a67e9c84032edeb.zip
cpython-cb4eeddeea7c4f83ed416b886a67e9c84032edeb.tar.gz
cpython-cb4eeddeea7c4f83ed416b886a67e9c84032edeb.tar.bz2
Don't print "Unhandled exception: " when one occurs -- just print its name.
Diffstat (limited to 'Python/pythonmain.c')
-rw-r--r--Python/pythonmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonmain.c b/Python/pythonmain.c
index 64e2f10..36f13f0 100644
--- a/Python/pythonmain.c
+++ b/Python/pythonmain.c
@@ -300,7 +300,9 @@ print_error()
goaway(1);
}
}
+ /*
fprintf(stderr, "Unhandled exception: ");
+ */
if (printobject(exception, stderr, PRINT_RAW) != 0)
err_clear();
if (v != NULL && v != None) {