Talin a écrit : (snip) > 2) Is there an easy way to determine if a given object has a callable > method named "unify"?
if callable(getattr(obj, 'unify', None)): # obj.unify exists and is callable Br -- http://mail.python.org/mailman/listinfo/python-list