[Python-3000] Ellipsis

James Thiele python3now at gmail.com
Fri Jan 25 00:25:39 CET 2008


On Jan 24, 2008 1:14 PM, Christian Heimes <lists at cheimes.de> wrote:


> Indeed! It's one character shorter than "pass", it requires much less
> finger movement and it even looks cool. I like it
>
> However ... can lead to strange looking code, too:
>
> >>> ....__class__.__name__
> 'ellipsis'

So ellipsis is a class?

Can it be subclassed as in:

class myclass(...):
    pass


More information about the Python-3000 mailing list