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

Ben Finney bignose+hates-spam at benfinney.id.au
Fri Nov 3 02:14:09 CET 2006


"eduardo.padoan at gmail.com" <eduardo.padoan at gmail.com> writes:

> Python should have a TypeError subclass: "NotCallableError", to
> enforce BAFP.

Bureau of Alcohol, Firearms, and Programmers?

(Perhaps you meant "EAFP")

-- 
 \       "If you go flying back through time and you see somebody else |
  `\   flying forward into the future, it's probably best to avoid eye |
_o__)                                        contact."  -- Jack Handey |
Ben Finney




More information about the Python-list mailing list