Testing if an object is a function

Claus Tondering claus.tondering at gmail.com
Thu Oct 5 13:20:20 CEST 2006


Fredrik Lundh wrote:
>     if callable(x):

Perfect. Thank you.

--
Claus Tondering




More information about the Python-list mailing list