tuples, index method, Python's design

Paul Rubin http
Mon Apr 9 04:05:49 CEST 2007


Steven D'Aprano <steve at REMOVE.THIS.cybersource.com.au> writes:
> I think the problem is that Python developers are split between those who
> see tuples as immutable lists, and those who see them as records/structs.

I think the construction

   def f(*a): ...

shows that the "immutable list" interpretation is firmly ensconced in
the language.



More information about the Python-list mailing list