On Monday, May 22, 2017 at 2:41:17 PM UTC+2, vdelecroix wrote:
>
>
> Yes! A function in Python always return a unique object. This object 
> might be a tuple or a list with several components.


Ok. Now I understand how you view things. 

I always thought it is a common idiom in Python that when the output 
consists of several items, then the output is a tuple of those items (so 
Python supports this idiom by allowing "Return a,b,c" rather than "Return 
(a,b,c)"). If you think there is always a choice between a tuple or a list 
when you return several items, expressing this explicitly in the docstring 
is essential. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to