Mercurial > cpython-lru_cache-weakref
diff Python/errors.c @ 44098:0889daf6d0d9
#1535: rename __builtin__ module to builtins.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 02 Dec 2007 09:40:06 +0000 |
| parents | ee081609cee8 |
| children | f324631462a2 |
line wrap: on
line diff
--- a/Python/errors.c Sat Dec 01 15:42:08 2007 +0000 +++ b/Python/errors.c Sun Dec 02 09:40:06 2007 +0000 @@ -645,7 +645,7 @@ else { char* modstr = PyUnicode_AsString(moduleName); if (modstr && - strcmp(modstr, "__builtin__") != 0) + strcmp(modstr, "builtins") != 0) { PyFile_WriteString(modstr, f); PyFile_WriteString(".", f);
