Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 4403:3b3f7c3f6da2 legacy-trunk
Ellipses -> Ellipsis rename (the dictionary really says that it should
be Ellipsis!).
Bumped the API version because a linker-visible symbol is affected.
Old C code will still compile -- there's a b/w compat macro.
Similarly, old Python code will still run, builtin exports both
Ellipses and Ellipsis.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 11 Oct 1996 16:25:41 +0000 |
| parents | 7bf71a839661 |
| children | fce4f87e5974 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Fri Oct 11 16:00:06 1996 +0000 +++ b/Python/bltinmodule.c Fri Oct 11 16:25:41 1996 +0000 @@ -1632,7 +1632,9 @@ INCREF(builtin_dict); initerrors(); (void) dictinsert(builtin_dict, "None", None); - (void) dictinsert(builtin_dict, "Ellipses", Py_Ellipses); + (void) dictinsert(builtin_dict, "Ellipsis", Py_Ellipsis); + /* And once more for bad spellers like me :-( */ + (void) dictinsert(builtin_dict, "Ellipses", Py_Ellipsis); }
