other ways to check for <type 'function'>?

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Thu Nov 2 11:42:13 CET 2006


elderic enlightened us with:
> are there other ways than the ones below to check for <type
> 'function'> in a python script?

First of all, why would you want to? If you want to call the object
as a function, just do so. Handle the exception that is raised when
it's raised.

Sybren
-- 
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/



More information about the Python-list mailing list