tuple.index()

Nick Maclaren nmm1 at cus.cam.ac.uk
Sun Dec 17 12:16:07 EST 2006


In article <4584E986.10502 at cosc.canterbury.ac.nz>,
greg <greg at cosc.canterbury.ac.nz> writes:
|> 
|> >     A collection is inhomogeneous if, for some attribute that is needed
|> >     for at least one action on at least one element of the collection,
|> >     the attribute is not shared by all elements of the collection.
|> 
|> If you mean "attribute" in the Python sense, then this
|> is wrong, because you're just defining it in terms of
|> concrete types again.

No, I am not.  I am using it in the normal English sense.

|> There is no rigorous definition in Python terms, because
|> Python doesn't formally embody the concept. But that
|> doesn't mean the concept isn't real.

Of course the concept is real, but the point is that Python doesn't
embody the concept of homogeneity in lists, formally or informally,
as far as I know or anyone has pointed out.


Regards,
Nick Maclaren.



More information about the Python-list mailing list