Need instruction on how to use isinstance

Stephen Hansen me+list/python at ixokai.io
Mon Jun 28 01:03:35 EDT 2010


On 6/27/10 9:47 PM, Chris Rebert wrote:
>> There's always: isinstance(<object>, collections.Callable)
>
> Why in Guido's name is that in the collections module of all places?
> What hath callability to do with container objects?

What he said! Minus the blasphemy.

It's Benevolent _Dictator_ For Life. Not Benevolent _Diety_ For Life. 
Just because a man has an uncanny sense of style (in the programming 
sense) and a time machine, doesn't a god make.

-- 

    ... Stephen Hansen
    ... Also: Ixokai
    ... Mail: me+list/python (AT) ixokai (DOT) io
    ... Blog: http://meh.ixokai.io/




More information about the Python-list mailing list