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?
--
http://mail.python.org/mailman/listinfo/python-list
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?
--
http://mail.python.org/mailman/listinfo/python-list