[Python-3000] Ellipsis

Thomas Wouters thomas at python.org
Thu Jan 24 21:16:45 CET 2008


On Jan 24, 2008 12:12 PM, Charles Merriam <charles.merriam at gmail.com> wrote:

> OK, I'll admit this is confusing to me.
>
> Is "..." == pass?


No, ... == Ellipsis.


> So, does a line with tokens after the "..." get an error like
> "characters after an elipses (...).  Did you cut and paste from IDLE?"
>

No, it'll get an error like "IndentationError: expected an indented block".
In other words, the exact same thing as before :)

-- 
Thomas Wouters <thomas at python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me
spread!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20080124/10502bd8/attachment.htm 


More information about the Python-3000 mailing list