Get Available Functions

Christian Heimes lists at cheimes.de
Mon Jan 28 12:08:50 EST 2008


Tim Chase wrote:
> I've had a couple cases where the underlying module was written 
> in C (mod_python in particular...don't know if it still has this 
> problem) where dir() wouldn't actually tell you about the object, 
> but for most cases, dir() will get you pointed in the right 
> dir-ection. :)

dir(), inspect and help() can't retrieve the method signature from a C
function (builtin_function_or_method type).

Christian




More information about the Python-list mailing list