[Tutor] What exactly does the three dots do? Why such as thing?
Alan Gauld
alan.gauld at yahoo.co.uk
Fri Aug 11 11:38:57 EDT 2017
On 11/08/17 14:57, Mats Wichmann wrote:
>> obscure features. Most Python programmers never use ellipses,
>
> I guess what this means is when I post code snippets with some lines
> elided for greater readability of the point being made I should not use
> ellipses for that, as they're actually a syntactic element! :)
Good point, because I often do that when replying to posts
def foo():...
I certainly don't mean the ellipses to be a syntactic element!
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list