[Python-3000] Ellipsis Literal
Raymond Hettinger
python at rcn.com
Thu Jan 24 20:16:33 CET 2008
[Raymond Hettinger]
>> I missed the conversation on this one.
>> Was there a use case or a reason to add this?
[Robert Kern]
> It was added for Numeric a long time ago.
The ellipsis syntax has been around for a while.
What is new is the Ellipsis literal in Py3.0.
See snippets below.
Raymond
------------------------------------
Python 2.6a0 (trunk:59985:59987, Jan 15 2008, 12:54:09) [GCC 4.1.1 (Gentoo 4.1.1)] on linux2
>>> ...
File "<stdin>", line 1
...
^
SyntaxError: invalid syntax
------------------------------------
Python 3.0a2+ (py3k:60204M, Jan 22 2008, 14:50:12) [GCC 4.1.1 (Gentoo 4.1.1)] on linux2
>>> ...
Ellipsis
More information about the Python-3000
mailing list