A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/065778.html below:

list vs tuple

list vs tuple list vs tupleAlex Martelli aleaxit at yahoo.com
Mon Apr 2 07:58:32 EDT 2001
"deadmeat" <root@[127.0.0.1]> wrote in message
news:ivXx6.1192$p5.4652 at news1.rivrw1.nsw.optushome.com.au...
> > They're called lists, not arrays.
>
> So what other term applies to tuples and lists?  They're both arrays,
given
> a Pythonic twist.

"Sequence" is the term used in the Python documentation to describe
the commonalities between tuples, lists, arrays, and other data
structures yet which conform to the same interface.

The term 'array', in core Python, denotes of course a different
kind of sequence: see standard module 'array'.  The same term is
also used in Numeric Python to describe yet another kind of data
structure, closest to the 4/5 meanings you quote.


Alex




More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4