Haskell like (c:cs) syntax

Istvan Albert istvan.albert at gmail.com
Wed Aug 29 15:08:32 CEST 2007

On Aug 29, 8:12 am, Ricardo Aráoz <ricar... at gmail.com> wrote:

> >> Caution : L[0] and L[1:] are COPIES of the head and tail of the list.

> Sorry, should have written RETURN copies instead of ARE copies.

L[0] does not return a copy, it does what is says, returns the object
stored at index 0.


More information about the Python-list mailing list