diff options
author | Guido van Rossum <guido@python.org> | 1996-10-11 16:25:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-10-11 16:25:41 (GMT) |
commit | e449af7da940d353a54036fb72e7405d2da362e3 (patch) | |
tree | 006a8ff9abc9d4639bf098ce59794dae9c7adf61 /Python/compile.c | |
parent | 8741b2b98861d9ffcc9d4fa211d278ba62c9109e (diff) | |
download | cpython-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/compile.c')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 60bfd6f..88b6710 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1032,7 +1032,7 @@ com_subscript(c, n) ch = CHILD(n,0); /* check for rubber index */ if (TYPE(ch) == DOT && TYPE(CHILD(n,1)) == DOT) - com_addoparg(c, LOAD_CONST, com_addconst(c, Py_Ellipses)); + com_addoparg(c, LOAD_CONST, com_addconst(c, Py_Ellipsis)); else { /* check for slice */ if ((TYPE(ch) == COLON || NCH(n) > 1)) |