summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-12-02 09:40:06 +0000
committerGeorg Brandl <georg@python.org>2007-12-02 09:40:06 +0000
commit7d4a05a4ebffb688137ca5b5a92825a756927e7e (patch)
tree012f200cbef14b454fbce4325f11ab7c6b08f4f4 /Python/errors.c
parent76c3522261540b3660a5172f01c99d29db08c579 (diff)
downloadcpython-7d4a05a4ebffb688137ca5b5a92825a756927e7e.tar.gz
#1535: rename __builtin__ module to builtins.
Diffstat (limited to 'Python/errors.c')
-rw-r--r--Python/errors.c2
1 files changed, 1 insertions, 1 deletions
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);