On Mar 17, 6:49 am, [EMAIL PROTECTED] wrote:
> What are the considerations in choosing between:
>
>    return [a, b, c]
>
> and
>
>     return (a, b, c) # or return a, b, c
>
> Why is the immutable form the default?

Using a house definition from some weeks ago, a tuple is a data
structure such which cannot contain a refrence to itself.  Can a
single expression refer to itself ever?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to