commit | 2633c69fae7e413b2b64b01d8c0c901ae649a225 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Feb 26 22:22:47 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Feb 26 22:22:47 2007 +0000 |
tree | 144a1f97f427f019a8ddaae96a8f0da6a09df985 | |
parent | f543348fff32ae20a9fd2c7f70a3549a3280048c [diff] [blame] |
Remove the exceptions builtin module, all the exceptions are already builtin.
diff --git a/Python/errors.c b/Python/errors.c index 0e565c1..e00d3ec 100644 --- a/Python/errors.c +++ b/Python/errors.c
@@ -612,7 +612,8 @@ PyFile_WriteString("<unknown>", f); else { char* modstr = PyString_AsString(moduleName); - if (modstr) + if (modstr && + strcmp(modstr, "__builtin__") != 0) { PyFile_WriteString(modstr, f); PyFile_WriteString(".", f);