Raymond Hettinger wrote: >> Some folks thought it would be cute to be able to >> write incomplete code like this: >> >> class C: >> def meth(self): ... >> ... >> >> and have it be syntactically correct. > > Hmm, that *is* cute :-)
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' Christian _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
