From 1a3284ed69d545e4ef59869998cb8c29233a45fa Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 2 Dec 2007 09:40:06 +0000 Subject: #1535: rename __builtin__ module to builtins. --- Python/errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/errors.c') diff --git a/Python/errors.c b/Python/errors.c index 1cd5dfdada..063187bf51 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -645,7 +645,7 @@ PyErr_WriteUnraisable(PyObject *obj) else { char* modstr = PyUnicode_AsString(moduleName); if (modstr && - strcmp(modstr, "__builtin__") != 0) + strcmp(modstr, "builtins") != 0) { PyFile_WriteString(modstr, f); PyFile_WriteString(".", f); -- cgit v1.2.1