[Python-3000] Ellipsis Literal

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jan 28 09:35:40 CET 2008

Guido van Rossum wrote:
> Some folks thought it would be cute to be able to write incomplete
> code like this:
> class C:
>   def meth(self): ...
>   ...

I thought there were better reasons than that.
For example, the new print() function could be
arranged so that

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

prints a line without a newline.


More information about the Python-3000 mailing list