tuples, index method, Python's design

Paul Rubin http
Sun Apr 8 22:05:49 EDT 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