Collections of non-arbitrary objects ?

Paul Rubin http
Wed Jun 27 19:37:29 CEST 2007

Steve Holden <steve at> writes:
> Think of a tuple as an ordered collection. A given element's ordinal
> position indicates its semantics (meaning, significance), and
> generally it won't make sense to iterate over the elements of a tuple
> (though naturally that doesn't stop people, and neither does the
> interpreter).

  def f(*a): ... 

is a fundamental language feature and really only makes sense in 
the context of iterating over tuples.

More information about the Python-list mailing list