summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-11 16:25:41 (GMT)
committerGuido van Rossum <guido@python.org>1996-10-11 16:25:41 (GMT)
commite449af7da940d353a54036fb72e7405d2da362e3 (patch)
tree006a8ff9abc9d4639bf098ce59794dae9c7adf61 /Python/bltinmodule.c
parent8741b2b98861d9ffcc9d4fa211d278ba62c9109e (diff)
downloadcpython-e449af7da940d353a54036fb72e7405d2da362e3.zip
cpython-e449af7da940d353a54036fb72e7405d2da362e3.tar.gz
cpython-e449af7da940d353a54036fb72e7405d2da362e3.tar.bz2
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.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index c1c3ed9..cd3d05f 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1632,7 +1632,9 @@ initbuiltin()
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);
}