diff options
author | Georg Brandl <georg@python.org> | 2007-12-02 09:40:06 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-12-02 09:40:06 +0000 |
commit | 7d4a05a4ebffb688137ca5b5a92825a756927e7e (patch) | |
tree | 012f200cbef14b454fbce4325f11ab7c6b08f4f4 /Python/errors.c | |
parent | 76c3522261540b3660a5172f01c99d29db08c579 (diff) | |
download | cpython-7d4a05a4ebffb688137ca5b5a92825a756927e7e.tar.gz |
#1535: rename __builtin__ module to builtins.
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 2 |
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); |