Hans Mulder <han... at xs4all.nl> wrote: > There's also: hasattr(<object>, '__call__'). It works in both 2.x and 3.x. Good work, Hans. I do find that to be a more pythonic approach, personally, being more concerned with an object's ability than its abstract type.