Roy Smith <[EMAIL PROTECTED]> writes: > I spend too much time in C++ pleading with the compiler to allow me to do > what I want. I come to Python to get away from all that type bondage. > > As another example, consider a list of items being juggled: > > [RubberChicken(), ChainSaw(), Canteloupe()] > > I could go through contortions to find some common subclass for these > items, but the whole *point* is that they're not of the same type. And > making a list of them is a perfectly reasonable thing to do.
You do realise that all these objects (like any object in Python) are all instances of the object type, don't you? -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list