Collections of non-arbitrary objects ?
Wed Jun 27 19:37:29 CEST 2007
Steve Holden <steve at holdenweb.com> 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
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