staticmethod

Erik Max Francis max at alcyone.com
Tue Feb 25 21:22:13 EST 2003


Andrew Bennetts wrote:

> Minor correction: it *is* trivial to tell if something is callable. 
> Just do
> "callable(something)".

True.  I was thinking of other cases, like operator.isSequenceType,
which don't really work for all general objects.  callable, however,
does.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ The great artist is the simplifier.
\__/ Henri Amiel
    Bosskey.net: Aliens vs. Predator 2 / http://www.bosskey.net/avp2/
 A personal guide to Aliens vs. Predator 2.




More information about the Python-list mailing list