mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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.
This commit is contained in:
parent
8741b2b988
commit
e449af7da9
7 changed files with 28 additions and 24 deletions
|
@ -48,6 +48,6 @@ except TypeError:
|
|||
FrameType = type(sys.exc_traceback.tb_frame)
|
||||
|
||||
SliceType = type(slice(0))
|
||||
EllipsesType = type(Ellipses)
|
||||
EllipsisType = type(Ellipsis)
|
||||
|
||||
del sys, _f, _C, _x # Not for export
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue