Benjamin Peterson wrote:

why would you use Ellipsis outside of slices?

I could imagine someone wanting to use it as part of a
function API. For example,

   print(a, b, c, ...)

would have been a nice way to tell print() not to put
a newline on the end.

--
Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to