type(foo) == function ?

Fredrik Lundh fredrik at pythonware.com
Wed Nov 29 21:34:07 CET 2006


Tom Plunket wrote:

> I'd like to figure out if a given parameter is a function or not.

http://effbot.org/pyref/callable

</F>




More information about the Python-list mailing list