Daniel Evers wrote: > Right. You can check this e.g. with > > hasattr(x, "__getitem__") > > because the __getitem__ method is used for indexing.
Thanks...that is what I was looking for! -- http://mail.python.org/mailman/listinfo/python-list
Daniel Evers wrote: > Right. You can check this e.g. with > > hasattr(x, "__getitem__") > > because the __getitem__ method is used for indexing.
Thanks...that is what I was looking for! -- http://mail.python.org/mailman/listinfo/python-list