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/

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to